on 02-27-2023 12:54 PM
Hi Team,
For exception handling, I have created another common iflow which is being called using ProcessDirect adapter.
Original Iflow exception subprocess:
Iflow to trigger Email:
When I trigger mail, How to get below properties of the Original Iflow in Subject and Body ?
1.SAP_MessageProcessingLogID
2.camelId
Thanks,
Varun
Hello ,
Add content modifier and set below payload so that body will contain parent flow details. Even you can enhance the details to have custom fields required as per your requirement..
<Ifldetails>
<ExchangeID>${exchangeId}</ExchangeID>
<MessageID>${property.SAP_MessageProcessingLogID}</MessageID>
<Timestamp>${date:now:dd-MM-yyyy HH:mm z}</Timestamp>
<ErrorMessage>${property.errorMessage}</ErrorMessage>
<ErrorTrace>${exception.stacktrace}</ErrorTrace>
<IFlowName>${camelId}</IFlowName>
</Ifldetails>
Regards,
Sriprasad Shivaram Bhat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
77 | |
9 | |
9 | |
7 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.