...
Anchor |
---|
| Add a Dependency to a Workflow Example Request |
---|
| Add a Dependency to a Workflow Example Request |
---|
|
Add a Dependency to a Workflow: Example Request
XML | JSON |
---|
|
Expand |
---|
| Panel |
---|
Html bobswift | <pre>{
" condition Html bobswift |
---|
": {
"value": "Success"
},
" points Html bobswift |
---|
": [ {
"x": "280",
"y": "300"
} ],
" sourceId Html bobswift |
---|
": {
"value": "2"
},
" straightEdge Html bobswift |
---|
": false,
" targetId Html bobswift |
---|
": {
"value": "3"
}
}
</pre> |
|
Anchor |
---|
| Add a Dependency to a Workflow Request Properties |
---|
| Add a Dependency to a Workflow Request Properties |
---|
|
Add a Dependency to a Workflow: Request Properties
Property | UI Field Name | Description | Specifications | Required |
---|
Anchor |
---|
| condition - ADW |
---|
| condition - ADW |
---|
|
condition | n/a | Dependency condition between the source and target tasks of this dependency (connector). | Valid values: Html bobswift | <ul>
<li> Success
<li> Failure
<li> - Success
- Failure
- Success/Failure
<li>
<li> - step:procedure:program:condition
<li> Variable
</ul> Default is Success. Â For example: Â Â Â Â <condition>Success</condition> Â Â Â <condition>Failure</condition> Â Â Â <condition>Success/Failure</condition> Â Â Â <condition>1,5,22-30</condition> Â Â Â <condition>*:*:*:JCLERR</condition> Â Â Â <condition>S1:PROC1:PGM1:U016</condition> Â Â Â <condition type="Exit Code">1,5,22-30</condition> Â Â Â <condition type="Step Condition">*:*:*:JCLERR</condition> Â Â Â <condition type="Step Condition">*:*:*:S0C4</condition> Â Â Â <condition type="Step Condition">S1:PROC1:PGM1:U016</condition> Â Â <variableCondition> Â Â Â Â Â Â <firstValue>${_varToLowerCase('variableName')}</firstValue> Â Â Â Â Â Â <operator>=</operator> Â Â Â Â Â Â <secondValue>${var2}</secondValue> Â Â </variableCondition> Â Step Condition is valid for z/OS tasks only. Â Success/Failure and Failure are not valid for Workflow, Timer, and Manual tasks. Â
Note |
---|
| The type attribute (type=) is optional for Exit Code and Step Condition. Based on the format of the condition, in most cases it is easily determined if the condition is Exit Code and Step Condition. If the condition cannot be determined, the type attribute can be checked. |
| N |
| n/a | If straightEdge is false; x and y coordinates of the Edge angles. | For example: Â Panel |
---|
Html bobswift |
---|
<pre>
<points>
<point x="280" y="300" />
</points>
</pre> |
|
| N |
Anchor |
---|
| sourceId - ADW |
---|
| sourceId - ADW |
---|
|
sourceId | n/a | Vertex ID of the source task. |
| Y |
Anchor |
---|
| straightEdge - ADW |
---|
| straightEdge - ADW |
---|
|
straightEdge | n/a | Specification for whether the edge is straight or bent. | Boolean; Valid values: true/false. Default is true. | N |
Anchor |
---|
| targetId - ADW |
---|
| targetId - ADW |
---|
|
targetId | n/a | Vertex ID of the target task. |
| Y |
...
Anchor |
---|
| List Dependencies in a Workflow Example Response |
---|
| List Dependencies in a Workflow Example Response |
---|
|
List Dependencies in a Workflow: Example Response
XML | JSON |
---|
|
Expand |
---|
| Panel |
---|
Html bobswift | <pre>[
{
" condition Html bobswift |
---|
": {
"value": "Success"
},
" sourceId Html bobswift |
---|
": {
"taskAlias": "test",
"taskName": "Sleep 30",
"value": "2"
},
" straightEdge Html bobswift |
---|
": true,
" targetId Html bobswift |
---|
": {
"taskName": "Sleep 60",
"value": "3"
}
},
{
" condition Html bobswift |
---|
": {
"value": "Success"
},
" sourceId Html bobswift |
---|
": {
"taskName": "Sleep 60",
"value": "3"
},
" straightEdge Html bobswift |
---|
": true,
" targetId Html bobswift |
---|
": {
"taskName": "Sleep 60",
"value": "6"
}
}
]
</pre> |
|
Anchor |
---|
| List Dependencies in a Workflow Properties |
---|
| List Dependencies in a Workflow Properties |
---|
|
List Dependencies in a Workflow: Properties
...
Anchor |
---|
| List Task in a Workflow Example Response |
---|
| List Task in a Workflow Example Response |
---|
|
List Tasks in a Workflow: Example Response
XML | JSON |
---|
|
Expand |
---|
| Panel |
---|
Html bobswift | <pre>[
{
" alias Html bobswift |
---|
": "Task 1",
" task Html bobswift |
---|
": {
"sysId": "1010f538c0a801c900e0fe0af94d9be5",
"value": "task1"
},
" vertexId Html bobswift |
---|
": "5",
" vertexX Html bobswift |
---|
": "253",
" vertexY Html bobswift |
---|
": "296"
},
{
" alias Html bobswift |
---|
": "Task 2",
" task Html bobswift |
---|
": {
"sysId": "f81d30ccc0a801c9008ea20e4f5f61d6",
"value": "task2"
},
" vertexId Html bobswift |
---|
": "6",
" vertexX Html bobswift |
---|
": "252.5",
" vertexY Html bobswift |
---|
": "429"
}
]
</pre> |
|
Anchor |
---|
| List Tasks in a Workflow Response Properties |
---|
| List Tasks in a Workflow Response Properties |
---|
|
List Tasks in a Workflow: Response Properties
...
Anchor |
---|
| Modify a Dependency in a Workflow Example Request |
---|
| Modify a Dependency in a Workflow Example Request |
---|
|
Modify a Dependency in a Workflow: Example Request
XML | JSON |
---|
|
Expand |
---|
| Panel |
---|
Html bobswift | <pre>{
" condition Html bobswift |
---|
": {
"value": "Success"
},
" points Html bobswift |
---|
": [ {
"x": "280",
"y": "300"
} ],
" sourceId Html bobswift |
---|
": {
"value": "2"
},
" straightEdge Html bobswift |
---|
": false,
" targetId Html bobswift |
---|
": {
"value": "3"
}
}
</pre> |
|
Anchor |
---|
| Modify a Task in a Workflow |
---|
| Modify a Task in a Workflow |
---|
|
Modify a Task in a Workflow
...
Anchor |
---|
| Modify a Task in a Workflow Example Request |
---|
| Modify a Task in a Workflow Example Request |
---|
|
Modify a Task in a Workflow: Example Request
XML | JSON |
---|
|
Expand |
---|
| {
" alias Html bobswift |
---|
": "S30",
" task Html bobswift |
---|
": {
"value": "sleep 30"
},
" vertexX Html bobswift |
---|
": "360",
" vertexY Html bobswift |
---|
": "60"
}
</pre> |
|
Anchor |
---|
| Modify a Task in a Workflow Properties |
---|
| Modify a Task in a Workflow Properties |
---|
|
Modify a Task in a Workflow: Properties
...
Anchor |
---|
| Remove Task(s) from a Workflow Example Response |
---|
| Remove Task(s) from a Workflow Example Response |
---|
|
Remove Task(s) from a Workflow: Example Response
XML | JSON |
---|
|
Expand |
---|
| panel | Html bobswift | <pre>[ {
" alias Html bobswift |
---|
": "task 1",
" task Html bobswift |
---|
": {
"sysId": "1010f538c0a801c900e0fe0af94d9be5",
"value": "task1"
" vertexId Html bobswift |
---|
": "5",
" vertexX Html bobswift |
---|
": "253",
" vertexY Html bobswift |
---|
": "296"
} ]
</pre> |
|
Note |
---|
|
If there are no matching tasks to remove, an empty list is returned. |
...