Processes › How to Define Steps and Actions › Define Pre-Conditions
Define Pre-Conditions
When defining a pre-condition to a step, you can use attributes from multiple objects added to the process. For example, you can create pre-conditions that:
- Check the status of action items
- Check between object attribute values
- Wait for a subprocess to complete before joining the master process
Pre-condition joins can be applied to intermediate and end steps only - not to a start step.
When you need to set up a pre-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 pre-conditions that will trigger a step
- Select Processes from the Data Administration menu.
The Available Processes page appears.
- Click the process name for which you want to define a pre-condition.
The Process Definition: Properties page appears.
- Open the step you want to edit.
The Process Definition: Step Details page appears.
- In the Pre-conditions section, click the Join Type drop-down to select a join type if this step is joining previous steps that were split. A join type can be defined without a pre-condition and vice-versa.
- Click New to specify a pre-condition that will trigger the step to start.
The Condition Builder page appears.
- Define a pre-condition by building the left and right parameters using objects and their attribute values.
- Click Add. The Expression field displays the parameters of the condition that you just created. The following shows the pre-condition: “After 1 day has elapsed since the Start step began, trigger Step 2." This is the pre-condition that will start step 2.
- Evaluate the expression and use the And/Or operators to add additional pre-conditions.
- When you are done, click Submit.
The Process Definition: Step Details page appears.
More information:
About Joins
Define Post Conditions