Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2806

Enhancing ccBPM scenario with multiple conditions

$
0
0

Dear All,

 

I am trying to enhance one ccBPM scenario(PI 7.11) developed by other consultant and already running in production .

This interface has integrated the Emptories Contract Life Cycle management  and SAP MM.

 

Existing Business Scenario

Whenever a new contract is created or existing contract is amended in Emptories CLM, it will trigger the webservice(WSDL provided by PI) on SOAP sender channel and based on contract Type(maintained in ccBPM switch condition) it is pushing  only CLM contract header data to SAP MM and in MM a contract will be created and SAP contract number with other details will be sent back to CLM as an response.

Current design in PI ccBPM

Current-ccBPM.png

 

Switch Conditions

 

Based on “CONTRACT_TYPE” field in contract it will trigger the individual condition and inside its triggers the sync messages and call the BAPI  to get the SAP Contract number created from MM and then send it to CLM over WSDL structure provided by CLM.

SAP Contract number will be coming in the response structure of Contract create or Contract change. Apart from the above task this BPM is also doing some other task such as sending email etc.

 

Existing-Switch.png


New Requirement

Now I have to enhance this interface to send the Contract LineItems details(Coming from Emtories CLM in request message) and then merge the SAP Contract number( Coming from SAP MM as a response) with LineItems If “CONTRACT_TYPE” = “C” OR “A”  to SRM MDM by using file adapter. These three message doesn’t have any common field, but both the response coming from SAP has SAP Contract number as common field.


What I attempted

I tried to put another branch with condition  CONTRACT_TYPE = "C" | CONTRACT_TYPE = "A"  and merge the Lineitems with SAP Contract number in transform and send to receiver file adapter. However, after saving the Integration process its showing the below warning message as

“Queue Assignment "Multiple (Random)" can lead to unpredictable message order and lock conflicts”

Because  I have already existing condition CONTRACT_TYPE = "C"  and CONTRACT_TYPE = "A" in different branch along with my new condition CONTRACT_TYPE = "C" | CONTRACT_TYPE = "A"  .

 

Please help me design ccBPM to achieve the above requirement. 

 

Thanks,

Farhan


Viewing all articles
Browse latest Browse all 2806

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>