Skip to Content
0
Dec 05, 2019 at 04:01 PM

How to call an integration flow from another integration in SAP CPI PI

2110 Views

Hi Experts,

I have a requirement to build a common integration flow with exception sub process which can be called by any integration flow to store the payload during message failure in CPI PI.

I have created one sample integration flow with exception subprocess. I am passing the input payload in content modifier of exception subprocess. Process direct receiver adapter is used for exception subprocess.

Please refer the image1.

I have created another common exception integration flow in which process direct is the sender.Used content modifier with the same property as that of the sample integration flow.Please refer the image2.

So as per the design when the message fails it should call the interface with exception subprocess and store the payload.

But in my case if I trigger the interface with incorrect payload its calling the exception subprocess but the messages are ending up with 'COMPLETED' status and even the payload is not getting stored.

But if I use the same login in a single integration flow its working. But I would like to have a separate common exception integration which can be reused.

Kindly provide some pointers if anyone has tried this scenario.

Attaching the iflow screenshots.

common-exception-integration.png