Processes › How to Define Steps and Actions › Define Post Conditions
Define Post Conditions
After defining the pre-conditions that will trigger a step, you must define post-conditions that will connect this step to the next step or the end step. When defining a post-condition. For example, you can create post-conditions that:
- Check the status of action items
- Check between object attributes values (except for MVL attributes)
- Wait for a subprocess to complete before joining the master process
When you need to set up a post-condition using "Previous Value" of certain attributes, you must enable audit trail for these attributes in Studio.
Note: See the Studio Developer's Guide for more information.
For object attributes with a Multi Valued Lookup (MVL) data type, you cannot create step conditions that check for previous and current attribute values.
To define the post-conditions that connect a step to the next step
- Select Processes from the Data Administration menu.
The Available Processes page appears.
- Click the process name for which you want to define a post-condition.
The Process Definition: Properties page appears.
- Open the step you want to edit.
The Process Definition: Step Details page appears.
- In the Post-conditions section, click the Split Type drop-down to select a split type if this step will be branching off the process into multiple directions.
- Under the If... column, click Build Conditions to define the “if” condition that will lead this step to the next step.
The Condition Builder page appears. Complete the following tasks on this page:
- From the Object drop-down, select the step on which you want to configure a rule.
- Specify the left parameters of the condition by selecting one of the following attributes for the selected step:
- Days elapsed since step began. The number of days that have passed since this step began. You can specify this value as a fraction. For example, for one-and-half-day, it would be "1.5."
- Duration of completed step. The number of days that have passed since this step was completed. You can specify this value as a fraction. The "Duration of completed step" is not defined until the step is complete. This means that "duration of completed step" for Step One cannot be used as a post condition for Step One.
- Number of times repeated. The number of times this step will loop. For example, after completing steps 1,2,3, and 4, you may have a post condition in step 5 that takes you back to step 2. If the "Number of times repeated" value is set to "3," then step 5 will go through this loop 3 times. After that, it will take another path based on what you defined in the condition.
- Specify the right parameters of the condition by specifying an operator and a constant or by selecting an object and an attribute value.
- Click Add to add and evaluate the expression in the Expression box.
- To define additional start conditions, select Add from the And/Or drop-down and repeat the above steps. To define alternative start conditions, select Or from the And/Or drop-down and repeat the above steps.
- When you are done defining the “if” condition, click Submit.
The Process Definition: Step Details page appears.
- In the Post-conditions section, under the Then Go To column, click Select Step to select the step that will be triggered next once the “if” condition in this step is satisfied.
- Click New to add and build additional post conditions.
More information:
About Splits