You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Custom response from global fault

Received Response
14
Views
1
Comments
edited Feb 11, 2021 9:38AM in Integration 1 comment

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:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!