Refine rule syntax

The syntax for the Refine rule is shown in the following figure:

Refine rule syntax 

refine <RuleName> :
   ECF
   {
      <Call>;
      <Variable>.<SlotName> = <Value>;
      ...
   }
END

Object

Description

ECF

Determines whether an action or assignment must take place for the event under analysis

For example, a Refine rule can use either the confirm_external or get_external primitives to execute an external program in response to an event.

Note

You can use a variable to trigger an ECF event and call in the action clauses that follow. For more information about variables in rules, see Variables in rules.

The following figure shows the syntax of an event condition formula (ECF) definition for a Refine rule:

Refine rule ECF syntax 

<ClassName> <Variable>
   where [<Expression> <CondOperator> <Expression>,
      <Expression> <CondOperator> <Expression>]
   using | using ALL <DataName> <DataVariable>
      where [<Expression> <CondOperator> <Expression>,
         <Expression> <CondOperator> <Expression>]

Object

Description

ClassName Variable where

Determines which events are processed by the Refine rule
The class name for the event being processed must match the class name for the rule to be evaluated.

using | using ALL

Retrieves information from the repository of a rule engine to be used in the context of the rule
For more information about the Using clause, see Using clause.

Was this page helpful? Yes No Submitting... Thank you

Comments