Creating Rules

You can modify the behavior or appearance of a component in a simulation template based on the value of a second component by creating a rule and applying it to a property of the first component.


Before you begin: Create a new custom view simulation template, or open an existing simulation template. For more information, see Starting Process Experience Studio and Opening a Simulation Template.
See Also
About Rules
Viewing Rules
  1. In the canvas, click the component for whose property you want to create a rule.
    The app displays the properties of the component in the Properties tab.
  2. In the Properties tab, click Edit/view rules next to the property for which you want to create a rule.
    The app displays the Rules Editor dialog box.
  3. Click Add Rule.
  4. Specify the value to apply when the rule's conditions are met by doing one of the following:
    • Enter a value.
    • Click Associate item to derive the value from the value of a process object.
  5. If you clicked Associate item, select a process object from the Process Tree column, and click OK.
  6. Create one or more conditions that must be met for the rule to take effect.

    If you add multiple conditions, all of the conditions must be met for the rule to take effect.

    1. Click Add Condition.
    2. Select a component from the list of compatible components to use its value for the condition.
    3. Select an operator.

      Option Description
      == Equal to
      != Not equal to
      > Greater than
      >= Greater than or equal to
      < Less than
      <= Less than or equal to

    4. Enter a value for the condition to compare with the value of the component.
  7. Click Close.

Result: In the Properties tab, the app highlights the Edit/view rules icon next to the property in blue to indicate that the property is governed by rules.