Adding Transitions Based on Previous Workflow Step Results
You can use workflow parameters to store the result of a workflow step. This value can then be used later to define a transition. The basic steps of adding a transition based on a previous workflow step result are:
-
In the Workflow window, on the Workflow tab, create a workflow parameter.
-
Create a token execution step to resolve the value in the workflow parameter.
-
For a workflow step, on the Properties tab of the Workflow Step window, in the Workflow Parameter field, type the workflow parameter name.
Figure 3-10. Add a transition based on a previous workflow step shows an example process. One step requires the user to route the request based on the type of change (code or database). The decision made at this step is considered later in the process to correctly route rework of the specific type.
Figure 3-10. Add a transition based on a previous workflow step
To add a transition based on a previous workflow step:
-
On the PPM Workbench shortcut bar, click Configuration > Workflows.
The Workflow Workbench opens.
-
Open a workflow.
The Workflow window opens to the Workflow tab.
-
Create a workflow parameter, as follows:
-
In the parameters section, click Add.
The Workflow Parameters window opens.
-
Complete the fields.
-
Click OK.
-
-
Click the Layout tab.
-
Configure an execution workflow step with a token that resolves the value in the workflow parameter.
Note: The validation used in this step must contain the same values as the validation specified in the Type of Change decision step.
-
From the Workflow Step Source window, copy an existing execution workflow step.
The Execution window opens.
-
Configure the workflow step.
-
Click OK.
-
-
Add the new execution workflow step to the workflow, as follows:
-
Add a workflow step to the workflow.
The Workflow Step window opens.
-
In the Workflow Step window, on the Properties tab, select the workflow parameter from the Workflow Parameter field.
-
Click OK.
-
-
Add the steps and transitions as shown in Figure 3-10. Add a transition based on a previous workflow step.
-
Click OK.