In the REST Call Task response mapping, is it possible to map the entire response payload to a string variable, instead of a specific JSON property. We're calling endpoints that return JSON without root elements and I need the entire response. Is this possible? Is there another way to access the entire response payload for the REST Call? I know I can map each individual element, but these payloads can become huge and contain a lot of nested properties.
Solved! Go to Solution.
Try using a dot for the property name in the response mapping.
Try using a dot for the property name in the response mapping.
This worked, thanks!
What if I have a JSON array as a response, and for example I would like to access a property of the first JSON object?
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.