...
Panel | ||||
---|---|---|---|---|
|
Anchor | ||||
---|---|---|---|---|
|
Overview
Universal Controller supports the following RESTful-based web services for Workflow Task Instance operations, which are listed alphabetically on this page.
- Insert a Task into a Workflow with Dependencies
- List Predecessors / Successors of a Task Instance in a Workflow
Formatting specifications for each web service, including details about parameter requirements, are provided.
Anchor | ||||
---|---|---|---|---|
|
Insert a Task into a Workflow with Dependencies
Description | |
---|---|
URI | http://host_name/uc/resources/taskinstance/ops-task-insert |
HTTP Method | POST |
Description | Insert a task into a Workflow with dependencies. |
Authentication | HTTP Basic |
Example URI | http://localhost:8080/uc/resources/taskinstance/ops-task-insert |
Consumes Content-Type | application/xml, application/json |
Produces Content-Type | application/xml, application/json |
Request Example | See Insert a Task into a Workflow with Dependencies: XML and JSON Examples. |
Request Properties | See Insert a Task into a Workflow with Dependencies: Request Properties. |
Response Example | See Insert a Task into a Workflow with Dependencies: XML and JSON Examples. |
Anchor | ||||
---|---|---|---|---|
|
Insert a Task into a Workflow with Dependencies: XML and JSON Examples
Examples | XML | JSON | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Example Request |
|
| ||||||||||
Example Response |
|
|
Anchor | ||||
---|---|---|---|---|
|
Insert a Task into a Workflow with Dependencies: Request Properties
Property | UI Field Name | Description | Specifications | Required | Mutually Exclusive With | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
alias | n/a | Alias used for the task within the Workflow; specifically, the value of ops_exec_workflow_vertex.name. | N | |||||||||||||
id | n/a | sys_id of the task to be inserted. | Y |
| ||||||||||||
name | Task Name | Name of the task to be inserted. | Y |
| ||||||||||||
predecessors | Predecessors | Comma-separated list of predecessor task instances within the workflow for the task to be inserted. | N | |||||||||||||
successors | Successors | Comma-separated list of successor task instances within the workflow for the task to be inserted. | N | |||||||||||||
vertexX | n/a | x-coordinate of the task to be inserted within the workflow. | Default is 0. | N | ||||||||||||
vertexY | n/a | y-coordinate of the task to be inserted within the workflow. | Default is 0. | N | ||||||||||||
inheritTriggerTime | n/a | Specification for whether or not the inserted task will inherit the Trigger Time of the Workflow task instance. | Boolean; Valid values (not case-sensitive):
Default is Yes, Y, true. | N | ||||||||||||
workflowInstanceCriteria | n/a | If search is by | Valid values:
Default is oldest active instance (1).
| N | ||||||||||||
workflowInstanceId | n/a | sys_id of the Workflow to insert the task into. | Y |
| ||||||||||||
workflowInstanceName | Instance Name | Name of the Workflow to insert the task into. | Y |
|
...
Note | ||
---|---|---|
| ||
|
Anchor | ||||
---|---|---|---|---|
|
List Predecessors / Successors of a Task Instance in a Workflow
Anchor | ||||
---|---|---|---|---|
|
List Predecessors / Successors of a Task Instance in a Workflow: XML and JSON Examples
XML | JSON | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Anchor | ||||
---|---|---|---|---|
|
List Predecessors / Successors of a Task Instance in a Workflow: URI Parameters
Parameter | Description | Specifications | Required | Mutually Exclusive With | |||||
---|---|---|---|---|---|---|---|---|---|
| If | Valid values:
Default is oldest active instance (1).
| N | ||||||
| Type of dependency to list for the task instance. | Valid values: predecessors, successors, * (all predecessors and successors). | N | ||||||
| sys_id of the task instance for which you want to list predecessors and successors. | Y |
| ||||||
| Name of the task instance for which you want to list predecessors and successors. | Y |
| ||||||
| If | N |
Anchor | ||||
---|---|---|---|---|
|
List Predecessors / Successors of a Task Instance in a Workflow: Response Properties
Property | UI Field Name | Description | ||||||
---|---|---|---|---|---|---|---|---|
condition | n/a | Dependency condition between the task instance and the listed Predecessor / Successor task instance. | ||||||
name | n/a | Resolved name of the Predecessor / Successor task instance. | ||||||
satisfied | n/a | Indication of whether the | ||||||
taskInstanceId | n/a | sys_id of the task instance for which the Predecessor / Successor task instance is listed. | ||||||
type | n/a | Type of dependency for the Predecessor / Successor task instance. | ||||||
vertexId | n/a | Vertex ID of the Predecessor / Successor task instance. | ||||||
vertexName | n/a | Name of the Predecessor / Successor task instance. |
...