Handling the response from the receiving system involves two main steps:
- Setting up the response parameters needed
- Then processing any necessary logic on the response
To streamline the process of setting up response parameters, especially when dealing with different connector types, you can utilise the Generate Parameters from Template tool. This tool allows you to input a response payload sample, which it then uses to auto-generate the entire response payload along with any associated object or collection path mappings. This means that the tool creates the full parameter set and unmarshalling paths automatically, unless you specify otherwise.
Once the response parameters are set up, you can create response handlers to perform specific logic on the received response from the downstream system. These response handlers enable you to customise how the response is processed and what actions are taken based on its content.