EvaluateRuleBase Activity

The EvaluateRuleBase activity lets you run an XML rulebase. The rulebase can validate records, cleanse and populate data in the records, and return evaluated data to the workflow.

Primarily, you can use the following two modes:

  • Process one or more records specified by input parameters.
  • Run once. This allows you to execute any validation, task or function once for all records. This is indicated by specifying ExecutionMode as NoRecords. The parameter ExecutionMode lets you select the Run once mode. You can execute a custom function, or any SQL based rulebase which operates on all the records in one execution.
    Note: To use the Connect action with the EvaluateRulebase activity, you must set the following parameters in the ManageRecordCollection Activity activity:
    • Specify the RelationshipName. The name must match with the name of a relationship specified in the Connect action of a rulebase.
    • Set the value of the BundlingOption parameter to true.

      For example,

      <Parameter direction="in" name="RelationshipName" type="string" eval="constant">CustomerToAddress</Parameter>
      <Parameter direction="in" name="BundlingOption" type="boolean" eval="constant">true</Parameter>