Previous  Next          Contents  Index  Navigation  Glossary  Library

Action Rule Sequencing

You can sequence, or order, action rules. Sequencing action rules establishes the order in which action rules are evaluated as data is collected.

One Rule Per Sequence

When action rules are mutually exclusive you can define a single action rule for each sequence number. Each action rule can be associated with one or more actions. In this scenario, if the action rule for the first sequence number is not true, then the action rule at the next sequence number is evaluated, until an action rule at some sequence is evaluated as true. When an action rule is evaluated as true, evaluation stops and the action or actions associated with the action rule are invoked.

For example, consider the action rules associated with the Oven Temperature collection element:

If an Oven Temperature value of 185 is collected, the action rule at sequence 10 is true and the actions that are specified for that rule -- Sending an electronic mail notification and Placing the job on hold -- are invoked. The action rule at sequence 20 is not evaluated even though the 185 value is outside the range specified.

If an Oven Temperature value of 192 is collected, the action rule at sequence 20 is the first rule to be evaluated and found to be true a warning message notifying the operator is displayed.

Multiple Rules per Sequence Number

When action rules are not mutually exclusive, you can define multiple action rules for each sequence number. In this scenario, all action rules associated with the same sequence number are evaluated. Even if the first action rule is evaluated as true, the subsequent action rules with the same sequence are evaluated.

For example, consider the action rules associated with the Defect Code collection element:

If a Defect Code value 4 is collected, the 1st action rule at sequence 10 is true and the action specified for that rule -- Send an electronic mail notification -- is invoked. The 2nd action rule at sequence 10 is also evaluated, but is found to be not true and no action is taken. If a Defect Code value of 9 is collected, the 1st action rule at sequence 10 is evaluated as true and the action specified for the rule -- Send an electronic mail notification -- is invoked. The 2nd action rule at sequence 10 is also evaluated as true and the actions specified for the rule -- Place the job on hold and Display a message to the operator -- are invoked.

See Also

Defining Collection Element Actions

Defining Collection Element Alert Actions

Defining Collection Plan Element Actions

Defining Collection Plan Element Alert Actions


         Previous  Next          Contents  Index  Navigation  Glossary  Library