Paths in ArcGIS Workflow Manager connect the steps in your workflows. Each step can be configured with multiple paths to dynamically assign the next step in the workflow to a person or group based on the result of the previous step.
Complete these steps to add and configure additional paths to the steps in your workflow:
- On the workflow canvas, hover over the step to which you want to add a path.
The step's connection points appear.
- Click a connection point and drag it to the connection point of another step in the workflow.
The Path Details panel appears.
To delete a path, click the path and press the Delete key.
- Optionally, adjust the path by clicking a node and dragging it to the desired location.
- Click the Path Assignment drop-down arrow and choose one of the following options:
- Job Creator—Reassign the step to the person who created the job.
- Job Owner—Reassign the step to the person who owns the job.
- Last Run By—Reassign the step to the person who originally completed the step.
- Maintain Assignment—Assign the step to the person who ran the previous step. This is the default.
- <UserName>—Assign the step to the specified person.
- <GroupName>—Assign the step to the specified group.
You can also type a keyword in the Path Assignment combo box to filter the list to show options that contain the keyword.
- Optionally, click the Status drop-down arrow and choose the status to assign to the job when the path is followed.
You can also type a custom status name in the Status combo box.
- Optionally, choose one of the following Path Logic options:
Return Code—Evaluate the return code value from the step that just completed to determine the next step in the workflow diagram.
For example, the Create Version step can be configured with two paths, one for Return Code = Success and one for Return Code = Failure. If the Create Version step succeeds, the job proceeds to the Define Location step. If the step fails, the user is prompted to run the step again as a user with sufficient privileges to create versions. Multiple combinations of return code values can also be managed using the AND and OR logic operators. For example, if two return codes are configured and the OR logic operator is used, the path is followed when the step's return code matches either value. However, if the AND logic operator is used, the path is only followed when the step's return code value matches both values. To add return codes, click Add Return Code.
Expressions—Evaluate the return code value from the step that just completed or evaluate a completed step's output value using an ArcGIS Arcade expression to determine the next step in the diagram.
For example, if a Run GP Service step's output value is 123, the jobOutputValue($job, 'd27395ec-ddfe-2b11-777a-6df02e86d835', 'num_acres') > 50 Arcade expression can be used to determine if the number of acres is greater than 50. Supported Arcade expression values for paths are Boolean, date, double, integer, and string.
- Any—Proceed to the next step in the workflow regardless of the previous step's result or return code value.