RNDDeenvelope Business Process
The RNDDeenvelope business process is used to deenvelope RND data. A typical scenario is one in which RND data must be received from a trading partner. The data must be deenveloped to extract identifying batch and interchange data, and the RNDDeenvelope business process helps to provide the deenveloping services.
The RNDDeenvelope business process is initiated as part of the following inbound process flow:
- You create a business process that calls the EDI Deenveloping service.
- The EDI Deenveloping service parses the whole message and checks it for compliance so it can be further processed by Sterling B2B Integrator.
- Passes the RND messages to the RNDDeenvelope business process. The Generic Deenvelope service runs as a subprocess.
- The RNDDeenvelope business process looks up the
envelope, based on the data found in the header. Note: For this envelope to be used, the Transmitter IRF Code, Receiver IRF Code, and Process ID in your envelope definition must match the parameters in the incoming data.
- The envelope specifies what to do with the deenveloped messages.
- Starts the Invoke Business Process service or a subprocess service to initiate the appropriate business process to handle each deenveloped message.
If exceptions occur when running an EDI Deenveloping business process, Sterling B2B Integrator generates an EDI Compliance Report.
The following BPML code makes up the RNDDeenvelope business process:
<process name="RNDDeenvelope">
<rule name="contract">
<condition>CONTRACT_FOUND = "YES"</condition>
</rule>
<sequence>
<operation>
<participant name="DeenvelopeGeneric" />
<output message="Xout" >
<assign to="map_name">BrkIrnd</assign>
<assign to="RunInValidationMode">false</assign>
<assign to="." from="*"></assign>
</output>
<input message="Xin" >
<assign to="." from="*"></assign>
</input>
</operation>
<choice>
<select>
<case ref="contract" activity="invoke_contract_workflow" />
</select>
<sequence name="invoke_contract_workflow">
<operation>
<participant name="InvokeBusinessProcessService" />
<output message="Xout">
<assign to="INVOKE_MODE">ASYNC</assign>
<assign to="." from="*"></assign>
</output>
<input message="Xin" >
<assign to="." from="*"></assign>
</input>
</operation>
</sequence>
</choice>
</sequence>
</process>
Before Using the RNDDeenvelope Business Process
Before you use the RNDDeenvelope business process, you must create a RND inbound envelope for each RND message type that you are receiving. See RNDInbound Envelope.