Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

XML

JSON


Expand
titleXML
<workflowVertex>
      <alias>S30</alias>
<conditionExpression /> <task>Sleep 30</task> <vertexX>360</vertexX> <vertexY>60</vertexY> </workflowVertex>



Expand
titleJSON
{
  "alias": "S30",
"conditionExpression": null, "task": {
"value": "Sleep 30" }, "vertexX": "360", "vertexY": "60" }


...

XML

JSON


Expand
titleXML
<workflowVertex>

     <alias>S30</alias>
<conditionExpression <conditionExpression /> <task>Sleep 30</task> <vertexId>9</vertexId>
<vertexX>360</vertexX> <vertexY>60</vertexY> </workflowVertex>



Expand
titleJSON
{
  "alias": "S30",
"conditionExpression": null, "task": { "value": "Sleep 30" }, "vertexId": "9,
"vertexX": "360", "vertexY": "60" }


...

Property

UI Field Name

Description

SpecificationRequired

Anchor
alias - ATW
alias - ATW
alias

n/a

Alias used for the task added to the workflow; specifically, the value of ops_task_workflow_vertex.name.


N
Anchor
conditionExpression - ATW
conditionExpression - ATW
conditionExpression
n/aBoolean condition expression to specify the dependency criteria.

XML:

<conditionExpression>
    <condition>
        <vertexId>7</vertexId>
    </condition>
    <condition>
        <vertexId>10</vertexId>
    </condition>
    <compoundCondition>
        <condition>
            <vertexId>9</vertexId>
        </condition>
        <condition>
            <vertexId>7</vertexId>
        </condition>
        <logicalOperator>And</logicalOperator>
    </compoundCondition>
    <logicalOperator>Or</logicalOperator>
</conditionExpression>

JSON:

"conditionExpression": {
    "conditions": [
        {
            "type": "condition",
            "vertexId": "7"
        },
        {
            "type": "condition",
            "vertexId": "10"
        },
        {
            "type": "compoundCondition",
            "conditions": [
                {
                    "type": "condition",
                    "vertexId": "9"
                },
                {
                    "type": "condition",
                    "vertexId": "7"
                }
            ],
        "logicalOperator": "And"
        }
    ],
    "logicalOperator": "Or"
}
N

Anchor
task - ATW
task - ATW
task

Task Name

Name of the task added to the workflow.


Y

Anchor
vertexId - ATW
vertexId - ATW
vertexId

n/a

Vertex ID of the task added to the workflow.
 
Each task within a Workflow has a unique Vertex ID to distinguish it from other tasks of the same name, if any.


Y

Anchor
vertexX - ATW
vertexX - ATW
vertexX

n/a

x-coordinate of the task added to the workflow.

Default is 0.N

Anchor
vertexY - ATW
vertexY - ATW
vertexY

n/a

y-coordinate of the task added to the workflow.

Default is 0.N

...

XML

JSON


Expand
titleXML
<workflowEdges>
 
      <workflowEdge>
      
          <condition>Success</condition>
                 <<sourceId taskName="Sleep 30" taskAlias="test">2</sourceId>
            
    <straightEdge>true</straightEdge>
     
           <targetId taskName="Sleep 60">3</targetId>
        </workflowEdge>
        <workflowEdge>
   
             <condition>Success</condition>
                 <sourceId taskName="Sleep 60">3</sourceId>
     
           <straightEdge>true</straightEdge>
                 <targetId taskName="Sleep 60">6</targetId>
  
     </workflowEdge>
</workflowEdges> 



Expand
titleJSON
[
  {
  "condition": {
    "value": "Success"
  },
  "sourceId": {
    "taskAlias": "test",
    "taskName": "Sleep 30",
    "value": "2"
  },
  "straightEdge": true,
  "targetId": {
    "taskName": "Sleep 60",
    "value": "3"
  }
},
  {
  "condition": {
    "value": "Success"
  },
  "sourceId": {
    "taskName": "Sleep 60",
    "value": "3"
  },
  "straightEdge": true,
  "targetId": {
    "taskName": "Sleep 60",
    "value": "6"
  }
} 
]


...

XML

JSON


Expand
titleXML
<workflowVertices>
	<workflowVertex>
		  <workflowVertex>
    <alias>Task 1</alias>
<conditionExpression /> <conditionExpression /> <task sysId="1010f538c0a801c900e0fe0af94d9be5">task1</task> <vertexId>5</vertexId> <vertexX>253</vertexX> <vertexY>296</vertexY> </workflowVertex> <workflowVertex> <alias>Task 2</alias>
<conditionExpression /> <conditionExpression /> <task sysId="f81d30ccc0a801c9008ea20e4f5f61d6">task2</task> <vertexId>6</vertexId> <vertexX>252.5</vertexX> <vertexY>429</vertexY> </workflowVertex> </workflowVertices>



Expand
titleJSON
[
  {
    "alias": "Task 1",
"conditionExpression": null, "task": { "sysId": "1010f538c0a801c900e0fe0af94d9be5", "value": "task1" }, "vertexId": "5", "vertexX": "253", "vertexY": "296" }, { "alias": "Task 2",
"conditionExpression": null, "task": { "sysId": "f81d30ccc0a801c9008ea20e4f5f61d6", "value": "task2" }, "vertexId": "6", "vertexX": "252.5", "vertexY": "429" } ]


Anchor
List Tasks in a Workflow Response Properties
List Tasks in a Workflow Response Properties

...

XML

JSON


Expand
titleXML
<workflowEdge>
      <condition>Success</condition>
  
   <points>
 
          <point x="280" y="300" />
      </points>
      <sourceId>2</sourceId>
  
   <straightEdge>false</straightEdge>
      <targetId>3</targetId>
</workflowEdge>



Expand
titleJSON
{
  "condition": {
     "value": "Success"
  },
  "points": [ {
     "x": "280",
     "y": "300"
  } ],
  "sourceId": {
    "value": "2"
  },
  "straightEdge": false,
  "targetId": {
    "value": "3"
  }
}


...

XML

JSON


Expand
titleXML
<workflowVertex>
  
   <alias>S30</alias>
<conditionExpression /> <task>Sleep 30</task> <vertexX>360</vertexX> <vertexY>60</vertexY> </workflowVertex>



Expand
titleJSON
{
  "alias": "S30",
"conditionExpression": null, "task": { "value": "sleep 30" }, "vertexX": "360", "vertexY": "60" }


...

Property

UI Field Name

Description

Specifications

Required

Alias used for the task to be modified in the workflow; specifically, the value of ops_task_workflow_vertex.name.

Anchor
alias - MTWalias - MTW
alias

n/a

alias - MTW
alias - MTW
alias

n/a

Alias used for the task to be modified in the workflow; specifically, the value of ops_task_workflow_vertex.name.


N

Anchor
conditionExpression - MTW
conditionExpression - MTW
conditionExpression
n/aBoolean condition expression to specify the dependency criteria.

XML:

<conditionExpression>
    <condition>
        <vertexId>7</vertexId>
    </condition>
    <condition>
        <vertexId>10</vertexId>
    </condition>
    <compoundCondition>
        <condition>
            <vertexId>9</vertexId>
        </condition>
        <condition>
            <vertexId>7</vertexId>
        </condition>
        <logicalOperator>And</logicalOperator>
    </compoundCondition>
    <logicalOperator>Or</logicalOperator>
</conditionExpression>

JSON:

"conditionExpression": {
    "conditions": [
        {
            "type": "condition",
            "vertexId": "7"
        },
        {
            "type": "condition",
            "vertexId": "10"
        },
        {
            "type": "compoundCondition",
            "conditions": [
                {
                    "type": "condition",
                    "vertexId": "9"
                },
                {
                    "type": "condition",
                    "vertexId": "7"
                }
            ],
        "logicalOperator": "And"
        }
    ],
    "logicalOperator": "Or"
}
N

Anchor
task - MTW
task - MTW
task

Task Name

Name of the task to be modified in the workflow.

Cannot be modified; used only to search for the task. To modify by task, the task must be unique in the workflow.
 
If both task and vertextId are specified, vertextId is used to search for the task to be modified.

Y
(unless vertextid
is specified.)

Anchor
vertexId - MTW
vertexId - MTW
vertexId

n/a

Vertex ID of the task within the workflow.
 
Each task within a Workflow has a unique Vertex ID to distinguish it from other tasks of the same name, if any.

Cannot be modified; used only to search for the task.
 
If both task and vertextId are specified, vertextId is used to search for the task to be modified.

Y
(unless task
is specified.)

Anchor
vertexX - MTW
vertexX - MTW
vertexX

n/a

x-coordinate of the task to be modified in the workflow.

Default is 0.

N

Anchor
vertexY - MTW
vertexY - MTW
vertexY

n/a

y-coordinate of the task to be modified in the workflow.

Default is 0.

N

...

XML

JSON


Expand
titleXML
<workflowVertices>
	  <workflowVertex>
		    <alias>Task 1</alias>
		 1</alias>
<conditionExpression /> <task sysId="1010f538c0a801c900e0fe0af94d9be5">task1</task> <vertexId>5</vertexId> <vertexX>253</vertexX> <vertexY>296</vertexY> </workflowVertex> </workflowVertices>



Expand
titleJSON
[ 
{ "alias": "task 1",
"conditionExpression": null, "task": { "sysId": "1010f538c0a801c900e0fe0af94d9be5", "value": "task1"
}, "vertexId": "5", "vertexX": "253", "vertexY": "296" }
]



Note
titleNote

If there are no matching tasks to remove, an empty list is returned.

...

Property

UI Field Name

Description

Anchor
alias - DTW
alias - DTW
alias

n/a

Alias of the task removed from the Workflow; specifically, the value of ops_task_workflow_vertex.name.

Anchor
conditionExpression - DTW
conditionExpression - DTW
conditionExpression
n/aBoolean condition expression to specify the dependency criteria.

Anchor
task - DTW
task - DTW
task

Task Name

Name of the task removed from the Workflow.

Anchor
vertexId - DTW
vertexId - DTW
vertexId

n/a

Vertex ID of the task removed from the Workflow.
 
Each task within a Workflow has a unique Vertex ID to distinguish it from other tasks of the same name, if any.

Anchor
vertexX - DTW
vertexX - DTW
vertexX

n/a

x-coordinate of the task removed from the Workflow.

Anchor
vertexY - DTW
vertexY - DTW
vertexY

n/a

y-coordinate of the task removed from the Workflow.

...