Get Rendered Task Form

Retrieves the rendered form for a task. This method can be used for getting the HTML rendering of a Generated Task Form.

Method

GET /task/{id}/rendered-form

Parameters

Path Parameters

Name Description
id The id of the task to get the rendered form for.

Result

An HTML response body providing the rendered (generated) form content.

Response Codes

Code Media type Description
200 application/xhtml+xml Request successful.
400 application/json The task with the given id does not exist or has no form field metadata defined for this task. See the Introduction for the error response format.

Example

Request

GET /task/anId/rendered-form

Response

<form class="form-horizontal">
  <div class="control-group">
    <label class="control-label">Customer ID</label>
    <div class="controls">
      <input form-field type="string" name="customerId"></input>
    </div>
  </div>
  <div class="control-group">
    <label class="control-label">Amount</label>
    <div class="controls">
      <input form-field type="number" name="amount"></input>
    </div>
  </div>
</form>

On this Page: