Example for CheckMessageStatus Activity

If your messageID was of the pattern: ProductID + ‘-‘ + ProductExt.

<Activity Name="CheckMessageStatus">
   <Action>CheckMessageStatus</Action>
   <Description lang="en">Check the status of the message</Description>
   <Parameter direction="in" name="MessageID1" type="string" eval="xpath"    source="/Message/Body/Document/BusinessDocument/CatalogAction/CatalogActi   onDetails/CatalogItem[1]/PartNumber/GlobalPartNumber/ProdID/IDNumber/text   ()">workDoc</Parameter>
   <Parameter direction="in" eval="constant" type="string"    name="MessageID2">-</Parameter>
   <Parameter direction="in" name="MessageID3" type="string" eval="xpath"    source="/Message/Body/Document/BusinessDocument/CatalogAction/CatalogActi   onDetails/CatalogItem[1]/PartNumber/GlobalPartNumber/ProdID/IDExtension/t   ext()">workDoc</Parameter>
   <Parameter direction="out" eval="variable" type="string"    name="MessageStatus">msgStatus</Parameter>
   <Parameter direction="out" eval="variable" type="string"    name="ProcessStatus">processStatus</Parameter>
   <Parameter direction="out" eval="variable" type="long"    name="ProcessID">processId</Parameter>
   <Parameter direction="out" eval="variable" type="string"    name="MessageID">msgID</Parameter>
</Activity>