Manual Task Instance Web Services
Universal Controller supports the following RESTful-based web services for Manual Task Instance operations, which are listed alphabetically on this page.
- Issue Set Completed Command for a Manual Task Instance
- Issue Set Started Command for a Manual Task Instance
Formatting specifications for each web service, including details about parameter requirements, are provided.
Issue Set Completed Command for a Manual Task Instance
Description | |
|---|---|
URI | http://host_name/uc/resources/taskinstance/setcompleted |
HTTP Method | POST |
Description | Issues a Set Completed command for a Manual Task instance. |
Example URI | http://localhost:8080/uc/resources/taskinstance/setcompleted |
Authentication | HTTP Basic |
Consumes Content-Type | application/xml, application/json |
Produces Content-Type | application/xml, application/json |
Example Request | See Issue Set Completed Command for a Manual Task Instance: XML and JSON Examples. |
Request Properties | See Issue Set Completed Command for a Manual Task Instance: Request Properties. |
Example Response | See Issue Set Completed Command for a Manual Task Instance: XML and JSON Examples. |
Issue Set Completed Command for a Manual Task Instance: XML and JSON Examples
- JSON
- XML
Example Request
JSON
{
"name": "Task 1",
"criteria": "Newest Instance",
"workflowInstanceName": "Test"
}
Example Response
JSON
{
"type": "set_manual_completed",
"success": true,
"info": "Command Set Completed executed successfully against task instance \"Task 1\".",
"errors": ""
}
Example Request
XML
<task-instance>
<id>1464817327170011848D633V6106ENQ7</id>
</task-instance>
or
<task-instance>
<name>test manual</name>
<criteria>Newest Instance</criteria>
<workflowInstanceName>test</workflowInstanceName>
</task-instance>
Example Response
XML
<command-response>
<type>set_manual_completed</type>
<success>true</success>
<info>Command Set Completed executed successfully against task instance "test".</info>
<errors />
</command-response>
Issue Set Completed Command for a Manual Task Instance: Request Properties
Property | UI Field Name | Description | Specifications | Required | Mutually Exclusive With |
|---|---|---|---|---|---|
| n/a | Specific task instance with this task instance | Valid values:
Default is Oldest Active Instance (1). info Values with an underscore characters ( _ ) instead of spaces also are supported (for example, oldest_active_instance). | N | |
| n/a | sys_id used within the Controller to identify this task instance. | Y |
| |
| Instance Name | Name of the task instance. | Y |
| |
| Operational Memo | User-defined operational memo. | N | ||
| Workflow | Name of the parent Workflow of the task instance. | You can select to display the Workflow field on the Activity Monitor and/or Task Instances List; it is not displayed in the Task Instance Details. | N |
Issue Set Started Command for a Manual Task Instance
Description | |
|---|---|
URI | http://host_name/uc/resources/taskinstance/setstarted |
HTTP Method | POST |
Description | Issues a Set Started command for a Manual Task instance. |
Example URI | |
Authentication | HTTP Basic |
Consumes Content-Type | application/xml, application/json |
Produces Content-Type | application/xml, application/json |
Example Request | See Issue Set Started Command for a Manual Task Instance: XML and JSON Examples. |
Request Properties | See Issue Set Started Command for a Manual Task Instance: Request Properties |
Example Response | See Issue Set Started Command for a Manual Task Instance: XML and JSON Examples. |
Issue Set Started Command for a Manual Task Instance: XML and JSON Examples
- JSON
- XML
Example Request
JSON
{
"name": "Task 1",
"criteria": "Newest Instance",
"workflowInstanceName": "Test"
}
Example Response
JSON
{
"type": "set_manual_started",
"success": true,
"info": "Command Set Started executed successfully against task instance \"Task 1\".",
"errors": ""
}
Example Request
XML
<task-instance>
<id>1464817327170011848D633V6106ENQ7</id>
</task-instance>
or
<task-instance>
<name>test manual</name>
<criteria>Newest Instance</criteria>
<workflowInstanceName>test</workflowInstanceName>
</task-instance>
Example Response
XML
<command-response>
<type>set_manual_started</type>
<success>true</success>
<info>Command Set Started executed successfully against task instance "test".</info>
<errors />
</command-response>
Issue Set Started Command for a Manual Task Instance: Request Properties
Property | UI Field Name | Description | Specifications | Required | Mutually Exclusive With |
|---|---|---|---|---|---|
| n/a | Specific task instance with this task instance | Valid values:
Default is Oldest Active Instance (1). info Values with an underscore characters ( _ ) instead of spaces also are supported (for example, oldest_active_instance). | N | |
| n/a | sys_id used within the Controller to identify this task instance. | Y |
| |
| Instance Name | Name of the task instance. | Y |
| |
| Operational Memo | User-defined operational memo. | N | ||
| Workflow | Name of the parent Workflow of the task instance. | You can select to display the Workflow field on the Activity Monitor and/or Task Instances List; it is not displayed in the Task Instance Details. | N |