- Created by Former user, last modified by Stonebranch on Sept 22, 2022
You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 5 Next »
Examples
The following examples are for task-related records for all task types except where noted otherwise.
Examples | XML | JSON |
---|---|---|
Examples for Workflow Task-Related Records | XML Workflow Vertices <workflowVertices> <workflowVertex> <alias /> <task>zos task</task> <vertexId>4</vertexId> <vertexX>560</vertexX> <vertexY>50</vertexY> </workflowVertex> </workflowVertices> <workflowEdges> <workflowEdge> <condition type="Step Condition">1:*:*:1</condition> <sourceId>4</sourceId> <straightEdge>true</straightEdge> <targetId>2</targetId> </workflowEdge> <workflowEdge> <points> <point x="280" y="300" /> </points> <condition>Success</condition> <sourceId>2</sourceId> <straightEdge>false</straightEdge> <targetId>3</targetId> </workflowEdge> </workflowEdges> <stepConditions> <stepCondition> <programName>programName</programName> <pstepName>procedureName</pstepName> <stepAction>Continue/Success</stepAction> <stepCodes>U0016</stepCodes> <stepName>stepName</stepName> <stepOrder>0</stepOrder> <sysId>1f85c539f50a4b488af5aad39a60c05c</sysId> </stepCondition> </stepConditions> Variable Conditions <stepActions> <systemOperation> <actionCriteriaTask>zos task</actionCriteriaTask> <agent>AGNT0001</agent> <agentCluster /> <agentClusterVar /> <agentVar /> <description>description</description> <execCommand>Cancel</execCommand> <execCriteria>Oldest Active Instance</execCriteria> <execId /> <execLookupOption>Instance Name</execLookupOption> <execName /> <execWorkflowName /> <execWorkflowNameCode>Equals</execWorkflowNameCode> <limit /> <notificationOption>Operation Success/Failure</notificationOption> <operation>Suspend Agent</operation> <runCriteria> <runCriterion> <businessDay>true</businessDay> <complex>true</complex> <complexAdjective>Every</complexAdjective> <complexNouns> Critical Endpoints
| JSON Workflow Vertices "workflowVertices": [ { "alias": null, "task": { "value": "SB_ZOS_Task " }, "vertexId": "2", "vertexX": "510", "vertexY": "40" } ] "workflowEdges": [ { "condition": { "value": "Success" }, "sourceId": { "taskName": "SB_ZOS_Task ", "value": "2" }, "straightEdge": true, "targetId": { "taskAlias": "Timer 0", "taskName": "Sleep 0", "value": "3" } ] "stepConditions": [ { "programName": null, "pstepName": null, "stepAction": "Halt/Failed", "stepCodes": "1-4095", "stepName": null, "stepOrder": 1, "sysId": "100b1da7c19f40a3848c2549a7c24de4" } ] Variable Conditions
"stepActions": [ { "actionCriteriaTask": "SB_ZOS_Task ", "agent": null, "agentCluster": null, "agentClusterVar": null, "agentVar": null, "description": null, "execCommand": "Cancel", "execCriteria": "Oldest Active Instance", "execId": null, "execLookupOption": "Instance Name", "execName": "SB_Timer", "execWorkflowName": "SB_Workflow", "execWorkflowNameCond": "Equals", "limit": null, "notificationOption": "Operation Failure", "operation": "Task Instance Command", Run Criteria
Critical Endpoints
|
Properties
See the Workflow Task - Workflow Task-Related Records Properties page for information on Workflow task-related records properties.
- No labels