Example for HandleMessaging Activity

<Activity Name="HandleMessagingDataPools">
  <Start/>
  <Action>HandleMessaging</Action>
  <Description lang="en">Create a message for a set of products, for   specific datapools</Description>
  <Parameter direction="in" name="CommandsPerMessage" type="long"   eval="constant">50</Parameter>
  <Parameter direction="in" name="InDocument" type="document"   eval="variable">inDoc</Parameter>
  <Parameter direction="in" name="ProtocolMessagingCommand" type="string"   eval="variable">nextCmd</Parameter>
  <Parameter direction="in" name="ProtocolMessagingCommand" type="string"   eval="constant">START</Parameter>
  <Parameter direction="in" name="ResponseRequired" type="boolean"   eval="constant">true</Parameter>
  <Parameter direction="in" name="ReferenceStepID" eval="variable"   type="long">prlog2</Parameter>
  <Parameter direction="in" name="InRecordList" type="recordlist"   eval="variable">workRecordList</Parameter>
  <Parameter direction="out" name="OutRecordList" type="recordlist"   eval="variable">workRecordList</Parameter>
  <Parameter direction="out" name="OutDocument" type="document"   eval="variable">messageDoc</Parameter>
  <Parameter direction="out" name="ProtocolMessagingNextCommand"   type="string" eval="variable">nextCmd</Parameter>
  <Parameter direction="out" name="ProtocolMessageGenerated" type="boolean"   eval="variable">msgGenerated</Parameter>
</Activity>