cancel
Showing results for 
Search instead for 
Did you mean: 

How to pass the details of Failed iFlow to ProcessDirect Adapter for Email Notification

joel_langoyan
Participant
0 Kudos
610

Hi Experts,

I have been trying to replicate what is describe in this blog https://blogs.sap.com/2019/10/16/trigger-email-notifications-from-cloud-platform-integration/ on trial account. Obviously the blog skips on what was defined prior to the processDirect iflow described.

The problem from what I tried though is that details from the failed iFlow such as the messageId, iFlow name, error details are not passed on with the processDirect adapter. Everything works just fine when all are in the exception subprocess which I setup shown below. Problem with subprocess is I will have to repeat all in every iFlow.

So as with the title says, how can I pass details in a preferably simple way.

Accepted Solutions (1)

Accepted Solutions (1)

PriyankaChak
SAP Champion
SAP Champion

Hi Joel,

To send the messageId, iFlow name, error details to the flow connected via processdirect adapter, you have set those as headers in 1st flow. In the 2nd flow, in runtime configuration, you have to mention the same headers in allowed headers section.

messageId|iFlowname|errordetails

Regards,

Priyanka

Answers (0)