cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Exception response not being sent back to HTTPS Sender Adapter

0 Likes
2,077

I am using HTTPS Sender Adapter in my IFLOW.I want to handle the exceptions.

I have the parameter Return Exception To Sender checked. But I am still getting a generic message when an exception occurs and not the exception message.

Use Case: I am using a Splitter and exception occurs when processing of a record fails. I have Stop on Exception checked in the Splitter.

I have tried adding a Exception SubProcess with a Content Modifier. But this also does not send the exception message to the Sender.

How can I send the exception text back to HTTPS Sender?

View Entire Topic
VijenderGouda
Active Participant
0 Likes

Hi shruthi.dhiraj,

In the Exception Subprocess while you use a content modifier where you can pass the exception in the body as ${exception.message}.
Copy down the same ${exception.message} in a content modifier before the end event of the main iflow you can send the response to the Sender back

You can test this in Postman and check.

Regards,

Vijender