MEIGAS2OutboundSample sample business process
The MEIGAS2OutboundSample business process sets the sender and receiver lookup data and sends a visibility event. The business process calls the Business Document Object Sender adapter with the payload sent to the business process.
Business process definition
The following code shows the MEIGAS2OutboundSample business process definition:
<process name="MEIGAS2OutboundSample">
<sequence name="Sequence Start">
<operation name="VisEventAdapterType">
<participant name="VisEventSenderAdapter"/>
<output message="VisEventAdapterTypeInputMessage">
<assign to="." from="*"></assign>
<assign to="customText">SI Outbound Start</assign>
<assign to="eventAction">CUSTOM</assign>
<assign to="eventData">Sample Doc Processing</assign>
<assign to="eventStatus">SUCCESS</assign>
</output>
<input message="inmsg">
<assign to="." from="*"></assign>
</input>
</operation>
<operation name="BDOSenderAdapterType">
<participant name="BDOSenderAdapter"/>
<output message="BDOSenderAdapterTypeInputMessage">
<assign to="." from="*"></assign>
<assign to="conversationId">conv112211</assign>
<assign to="correlationID">corr09876</assign>
<assign to="DocumentType">Action</assign>
<assign to="EndPointName">BDODocProcessingDest</assign>
<assign to="groupId">sitest</assign>
<assign to="MessagePropertiesPropertyName1">testname1</assign>
<assign to="MessagePropertiesPropertyType1">string</assign>
<assign to="MessagePropertiesPropertyValue1">testval1</assign>
<assign to="messageType">com.ibm.b2b.apiint.messagedefinitions.messages.xml.dispatcher.BusinessDocument</assign>
<assign to="messageVersion">1.0</assign>
<assign to="PartPropertiesPayloadPropertyName1">someprop</assign>
<assign to="PartPropertiesPayloadPropertyType1">sometype</assign>
<assign to="PartPropertiesPayloadPropertyValue1">somevalue</assign>
<assign to="ReceivingPartnerBusinessId">recv54321</assign>
<assign to="ReceivingPartnerName">Consumer</assign>
<assign to="replyTo">BDODocProcessingReplyTo</assign>
<assign to="SendingPartnerBusinessId">send12345</assign>
<assign to="SendingPartnerName">Producer</assign>
<assign to="ServiceType">WebService</assign>
<assign to="ServiceValue">cloudQuote</assign>
<assign to="TransactionId" from="/ProcessData/transactionID/text()"></assign>
</output>
<input message="inmsg">
<assign to="." from="*"></assign>
</input>
</operation>
</sequence>
</process>