Process Diagram
As the name suggests, a Process Diagram component will display the Process Diagram on a page. If this component is added properly, it will display the relevant Process Diagram associated with the item on the page.
This is a unique component and cannot be visible for every possible Page. It is only visible for specific Table Pages which have an XML type of column present.
Below is an image of Process Runs table. This table is a system table and shows the list of all workflows executions as items. We will consider this to illustrate the features of Process Diagram Component.
Let us look select Activity Example. Click on it just like any other item in Explorer.
The Item Details page appears as shown below. We can view the Process Diagram Component here.
The Item Details page can have more details than just the Process Diagram Component. This depends on how the Page has been configured in Designer.
Here we can observe other fields apart from the Process Diagram Component.
Interpreting the Process Diagram run
The Process Run of workflow in Explorer helps us to interpret the execution of elements (events, tasks, gateways) based on a colour scheme.
-
Green - this represents that the token has passed the subject element and the action was performed successfully. The token proceeds forward on the path once the element has turned green.
-
Orange - this represents that the token is active at the subject element.
-
Red - this indicates that the token has reached the subject element, but the action could not be performed as defined and has errored. The token does not proceed forward on the path, if the element has errored.
-
Colourless - this indicates that the token has not reached the subject element yet on the path.
Open Tasks from Process Diagram Component
You can double click on Active (Orange) or Successfully Completed (Green) UserTasks to open the corresponding Task Item Profile.
-
This will work only for UserTasks.
-
Clicking on Colourless or Red UserTasks would not navigate you to the corresponding Task Item Profile. This is because the system did not action such tasks.
Navigate to diagram with Process Run
If you are viewing a specific process run for a workflow diagram, you can click on "Edit Diagram" button.
This will navigate you to the Workflow Page with the same Process Run as pre-loaded.