Example for EvaluateRuleBase Activity

<Activity Name="ApplySynchRuleBase">
  <Start/>
  <Action>EvaluateRuleBase</Action>
  <Description lang="en">Apply Validation and transformation   rules.</Description>
  <Parameter direction="in" type="string" eval="constant"   name="eventState">EvaluateRuleBase</Parameter>
  <Parameter direction="in" name="Rulebase" eval="catalog" type="string"   source="TransformRuleBase">inDoc</Parameter>
  <Parameter direction="in" name="InDocument" type="document"   eval="variable">inDoc</Parameter>
  <Parameter direction="in" name="InRecordList" type="recordlist"   eval="variable">workRecordList</Parameter>
  <Parameter direction="in" name="EvaluateChildren" type="boolean"   eval="constant">false</Parameter>
  <!-- Severity: Validations with severity < input Severity are considered   Fatal errors. The rest are considered Warnings. -->
  <Parameter direction="in" name="Severity" type="long"   eval="constant">9</Parameter>
  <!-- SaveFlag: NONE - Do NOT remove records with errors.  FATAL - Remove   records with Fatal errors (see Severity) -->
  <Parameter direction="in" name="RemoveRecord" type="string"   eval="constant">FATAL</Parameter>
  <!-- SaveFlag indicates if any changes to attributes should be saved in the   database. Values are: SAVE,NOSAVE -->
  <Parameter direction="in" name="SaveFlag" type="string"   eval="constant">SAVE</Parameter>
  <!-- LogOption: A - AttributeLog, L - Execution Log, F - Log File -->
  <Parameter direction="in" name="LogOption" type="string"   eval="constant">F</Parameter>
  <!-- Number of FATAL errors (see Severity) -->
  <Parameter direction="out" name="ValidationErrors" type="long"   eval="variable">fatalErrors</Parameter>
  <!-- Number of Warnings (see Severity) -->
  <Parameter direction="out" name="ValidationErrors1" type="long"   eval="variable">warningErrors</Parameter>
  <Parameter direction="in" name="BundlePerAsyncCall" type="long"   eval="constant">10</Parameter>
  <Parameter direction="in" name="RelationshipName" type="string"   eval="constant">CONTAINS</Parameter>
</Activity>