Workflow Information
When viewing an executed workflow, there are multiple methods to view information.
-
The list of executed workflows provides high-level information at a glance, including current status, current state of the workflow, and last updated time. The status of each run is underlined, and Failed statuses show an X.
-
After selecting a workflow, the middle pane provides up to four subtabs, depending on which type of workflow you are viewing: Input, Current Status, Output, and Graph. The Current Status subtab is visible only with hosted workflows. Further, it provides a View Logs
tool, which toggles you to the Logs tab pre-filtered to the chosen workflow.
-
Regarding the Input, Current Status, and Output subtabs, there is an object called the “Context” that you interact with while writing a workflow. The Input shows what the Context object was when the workflow began, the Current Status shows what the Context object is at the given moment, and the Output shows you what the Context object looked like when the workflow completed (or the error message if the workflow failed).
-
Within all four subtabs, you can view the “State” property (for the Output to be populated, the workflow must have completed or have an error). This is an important section because it holds all of the current values of variables that have been stored during the workflow run. When troubleshooting, it is useful to look at the collected values in addition to the current node. This can reveal why and how the workflow took its chosen path and what caused the error.
-
Within all four subtabs, you can view the “Event” property. This holds the .json of the service bus event that triggered the workflow.
-
-
The right-hand pane displays the architecture of the workflow, which is known as the graph.
-
Click and drag to pan around the graph.
-
Roll the mouse wheel to zoom in and out.
-
Notice the current node (or status) of the executed workflow is highlighted in red.
-
For example, this workflow completed, so the “Complete” node is highlighted in red.
-
As another example, this workflow is currently waiting for the draw assignment to complete, so the “Assignment” nodes are highlighted in red.
NOTE: If you're investigating a failed workflow, the graph section shows the step outlined in red where the workflow stopped.
-
-
-
You can also copy the Running Workflow Id and Workflow Metadata Id using the Copy to Clipboard buttons, to assist in data analysis and troubleshooting. If you are working with an autoupdater orchestration workflow, you additionally have the Workflow Ancestral ID available to Copy to Clipboard.
Recomplete Edit Assignment Tool
Sometimes a session gets stuck along its workflow and doesn’t complete its edit assignment. A user may create a session and complete work on the session, send for approval, but the session doesn’t show up in the approval assignment or review assignment. When this happens, the Recomplete Edit Assignment tool helps to complete that edit assignment.
-
Within the Run History tab, locate the Session Manager Workflow that failed. You can easily find this workflow by filtering for workflows with errors.
-
Locate the Tools drop-down and expand the list.
-
Click the Recomplete Edit Assignment button.
-
Go to the Editor plugin > Session Manager tab, and locate the session you just executed this workflow upon. Note that its Edit assignment says completed.