Custom response from global fault
Content
we have an integration configured with REST adapter as trigger connection. it has below response payload strcutre.
{
"result": "success/failre"
“Message”: “success/error message”
}
so, at the end of the inetgration, we are sending the response as success and success response mssage for both tags.
Requiremtn is, when there is any error in entire integration, we would send below message in global fault. But, I could not find map working to send the custom response from globa fault. how do we achieve this?
{
"result": "failure"
“Message”: “Error while creating record in OEC”
}
Tagged:
0