Example for DuplicateMessageCheck Activity
In this example, the PayloadID is found via an XPath expression on doc1, and the marketorganization likewise.
If a duplicate was found, an exception will be thrown as Fatal is True.
<Activity Name="DuplicateMessageCheck"> <Start/> <Description>Check if this document was received before</Description> <Execution>SYNCHR</Execution> <Action>DuplicateMessageCheck</Action> <Parameter direction="in" type="boolean" eval="constant" name="Fatal">True</Parameter> <Parameter direction="in" type="string" eval="xpath" name="PayloadID" source="//mlXML/@payloadID">doc1</Parameter> <Parameter direction="in" type="string" eval="xpath" name="MarketOrganizationID" source="//mlXML/Header/HeaderDetails[@HeaderOrigin='Sender']/Organization/ @dbid"> doc1 </Parameter> <Parameter direction="in" type="document" eval="constant" name="InDocument">doc1</Parameter> </Activity>
Copyright © Cloud Software Group, Inc. All rights reserved.