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>
Defines the name of the event rule in the rule section and the name of the corresponding action in the action section.
Defines the type of Drools language to output. Use DRL for rules and DRF for actions.
Defines the event rule criteria in the Drools language.
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.
|
Copyright © 2013 CA.
All rights reserved.
|
|