Description
Represents all the steps that are currently active in a job workflow.
Parameters
Parameter |
Details |
f |
Description: The response format. The default response format is html.
Values: html | json |
Example Usage
Example 1: URL for the current steps of job ID 5 in the "Workflow" service on sampleserver.
http://sampleserver/arcgis/rest/services/Workflow/WMServer/jobs/5/workflow/steps/current
JSON Response Syntax
{
"steps": [
{
"id": <stepId>,
"name": "<stepName>",
"commonId": <commonId>,
"assignedType": <assignedType>,
"assignedTo": "<assignedTo>",
"async": <true | false>,
"autoRun": <true | false>,
"canSkip": <true | false>,
"canSpawnConcurrency": <true | false>,
"hasBeenStarted": <true | false>,
"hasBeenExecuted": <true | false>,
"selfCheck": <true | false>,
"statusId": <statusId>,
"defaultPercentComplete": <percentage>,
"stepPercentComplete": <percentage>,
"notificationType": "<notificationName>",
"stepType": {
"id": <stepTypeId>,
"name": "<stepTypeName>",
"description": "<stepTypeDescription>",
"program": "<program>",
"arguments": "<arguments>",
"executionType": <stepExecutionType>,
"visible": <true | false>,
"stepDescriptionType": <stepDescriptionType>,
"stepDescriptionLink": "<stepDescriptionLink>",
"stepIndicatorType": <stepIndicatorType>,
"supportedPlatform": <supportedPlatform>
}
},
...
]
}
JSON Response Example
{
"steps": [
{
"id": 14,
"name": "QA-QC Data",
"commonId": 20,
"assignedType": 2,
"assignedTo": "QA Team",
"async": false,
"autoRun": false,
"canSkip": false,
"canSpawnConcurrency": true,
"hasBeenStarted": true,
"hasBeenExecuted": true,
"selfCheck": false,
"statusId": 2,
"defaultPercentComplete": 85,
"stepPercentComplete": 50,
"notificationType": "",
"stepType": {
"id": 6,
"name": "QA-QC Data",
"description": "Perform quality assurance checks on the edited features.",
"program": "JTXDesktopSteps.LaunchArcMap",
"arguments": "",
"executionType": 2,
"visible": false,
"stepDescriptionType": 3,
"stepDescriptionLink": "http://myserver/workflow/help/QA_Guidelines.html",
"stepIndicatorType": 1,
"supportedPlatform": 0
}
}
]
}