Previous Topic: Evaluate OperationNext Topic: Example Event Policy File


Evaluate Property--Evaluate Events Based on Rules and Workflow Actions

Evaluate operations begin with an <Evaluate> property, which has the following basic syntax:

<Evaluate>
   <Field input="rule name" output="DRL">
      <!CDATA[
      <Drools rule>
   </Field>
   <Field input="action name" output="DRF">
      <!CDATA[
      <Drools action>
   </Field>
</Evaluate>
input

Defines the name of the event rule in the rule section and the name of the corresponding action in the action section.

output

Defines the type of Drools language to output. Use DRL for rules and DRF for actions.

Drools rule

Defines the event rule criteria in the Drools language.

Drools action

Defines the event workflow action to run if the rule criteria are met. If the rule itself cannot perform the appropriate action, a workflow action is not required for every rule.

See the Example Event Policy File for an illustration of how to construct embedded Drools rules.