Example for ManageRecordCollection Activity

This activity converts an existing record collection to read only.

<Activity Name="ManageRecordCollection">
  <Start/>
  <Action>ManageRecordCollection</Action>
  <Description lang="en">Picks the appropriate record versions from
  the document.</Description>
  <Parameter direction="in" name="InRecordList" type="recordlist"   eval="variable">workRecordList</Parameter>
  <Parameter direction="out" name="OutRecordList" type="recordlist"   eval="variable">workRecordList</Parameter>
  <Parameter direction="in" name="SetRecordListReadOnly" type="boolean"   eval="constant">true</Parameter>
</Activity>

This example allows creation of record collection which includes root records for a specific catalog only.

<Activity Name="ManageRecordCollection">
  <Start/>
  <Description lang="en">Create Bundles in the Record   Collection</Description>
  <Action>ManageRecordCollection</Action>
  <Parameter direction="in" type="string" eval="constant"   name="eventState">CREATEBUNDLE</Parameter>
  <Parameter direction="in" name="RelationshipName" type="string"   eval="constant">CONTAINS</Parameter>
  <Parameter direction="in" name="BundlingOption" type="boolean"   eval="constant">true</Parameter>
  <Parameter direction="in" name="MasterCatalog" type="string"   eval="constant">XYZ</Parameter>
  <Parameter direction="in" name="VersionOption" type="string"   eval="constant">LATEST</Parameter>
  <Parameter direction="out" name="OutRecordList" type="recordlist"   eval="variable">workRecordList</Parameter>
  <Parameter direction="out" name="OutRecordList2" type="recordlist"   eval="variable">rejectRecordList</Parameter>
  <Parameter direction="in" name="RecordPerAsyncCall" type="long"   eval="constant">10</Parameter>
  <Parameter direction="in" name="AsynProcessIndicator" type="boolean"   eval="constant">true</Parameter>
</Activity>