Example for SaveRecord Activity

<Activity Name="SaveRecord">
  <Start/>
  <Description lang="en">Process Record and generate an output   document.</Description>
  <Action>SaveRecord</Action>
  <Parameter direction="in" name="InDocument" type="document"   eval="variable">work1Doc</Parameter>
  <Parameter direction="in" name="Rulebase" type="string"   eval="constant">standard/rulebase/rbtest.xml</Parameter>
  <Parameter direction="in" name="Severity" type="long"   eval="constant">9</Parameter>
  <Parameter direction="out" eval="variable" type="long"   name="RecordsAttempted">workDoc</Parameter>
  <Parameter direction="out" eval="variable" type="long"   name="RecordsWithErrors">errorsFound</Parameter>
  <Parameter direction="out" eval="variable" type="document"   name="OutDocument">workDoc</Parameter>
  <Parameter direction="in" name="RecordPerAsyncCall" type="long"   eval="constant">10</Parameter>
  <Parameter direction="in" name="AsynProcessIndicator" type="boolean"   eval="constant">true</Parameter>
</Activity>