Business Process Automation

Milestone Tolerance Rule

This page is accessed via Business Process Automation > Agents and Milestones > Milestone Tolerance Rule.

Milestone tolerance rules specify the difference between the planned (or estimated) and the actual arrival or departure times that are considered "on time" in a milestone. For example, a milestone tolerance rule can specify that an actual arrival is considered on time if it occurs up to two hours before the planned arrival time and up to one hour after the planned arrival time.

Milestone tolerance rules are like extended saved conditions in that the milestone records the event and performs the agent action only if:

  • The event listened to is the same
  • The saved condition evaluates to true
  • The tolerance condition evaluates to true.

Note: Only one milestone tolerance rule can be assigned to a milestone.

Adding a Milestone Tolerance Rule

  1. Enter a Milestone Tolerance Rule ID.
  2. Enter a Milestone Tolerance Rule Name.
  3. The Data Query Type specifies the type of business object to which the rule applies.
  4. The Tolerance Rule Type sets the type of rule to use. Select the appropriate type from the drop-down list. The options are:
    • COMPARISON: The parameters defined in the Comparison fields are used. See the Comparison Fields section below for more details.
    • SAVED CONDITION: A defined query performs the evaluation.
    • RULE RELATIONSHIP: Tolerance Rules are used to perform the evaluation.
  5. If Comparison was selected as the Tolerance Rule Type, then the following fields appear:
    1. In the Compare field, select the first criteria that you want to compare.
    2. In the Comparison Operator field, select the appropriate operation you want the comparison to execute. It compares the value in the Compare field to the value in the To field.
      • Between: The milestone is recognized or is true if the Compare stop date/ time is between the To stop date/time and the specified lower and upper offsets.
      • Equal*: The milestone is recognized or is true if the Compare stop date/time is equal to the To stop date/time and the specified offset.
      • Greater Than*: The milestone is recognized or is true if the Compare stop date/ time is greater than the To stop date/time and the specified offset.
      • Less Than*: The milestone is recognized or is true if the Compare stop date/ time is less than the To stop date/time and the specified offset.
      • Not Between: The milestone is recognized or is true if the Compare stop date/ time is not between the To stop date/time and the specified lower and upper offsets.

        *When using these comparison operators, you can specify only one offset (that is, either lower or upper but not both).
    3. In the To field, select the criteria that you want the value in the Compare field to compare against.
    4. In the Lower Offset fields, enter the days (D), hours (H), and minutes (M) prior to the planned or estimated time that the arrival or departure will be considered on time.
    5. In the Upper Offset fields, enter the days (D), hours (H), and minutes (M) after which the planned or estimated time that the arrival or departure will be considered on time.
  6. If Saved Condition was selected, enter a saved condition.
  7. If Rule Relationship was selected, the following fields appear:
    1. Enter a Tolerance Rule.
    2. Select a Rule Relationship. The rules can be combined using an AND/OR relationship. If AND is used, then both Tolerance Rules selected must be true for the this evaluation to be true. If OR is used, then either Tolerance Rule selected must be true for this evaluation to be true.
    3. Enter the second Tolerance Rule.
  8. Click Finished.

Related Topics