FRAMES | NO FRAMES Description | Parameters | Examples | Response
Can Run Step (Operation)
URL http://<step-url>/canRun
Parent Resource Step

Description

Indicates if this workflow step can be run. A workflow step is runnable if there are no active holds on the job, if there are no dependencies on other jobs, if this step is assigned to the current user or one of the current user's groups, and if this step is currently active in the job workflow.

The possible return values and their meanings are as follows:

Parameters

Parameter Details
f Description: The response format. The default response format is html.

Values: html | json
user Required
Description: The username of the client.

Example Usage

Example 1: URL for retrieving the runnable status of step ID 14 of job ID 5 in the "Workflow" service on sampleserver.

http://sampleserver/arcgis/rest/services/Workflow/WMServer/jobs/5/workflow/steps/14/canRun?user=cjones

JSON Response Syntax

{
  "canRun": <runnableStatus>
}

JSON Response Example

{
  "canRun": 1
}