Final Response of the workflow

I am triggering a Camunda 7 workflow via the REST Endpoint and using

withVariablesInReturn: true

in the request payload

This returns all the variables I’ve created in my workflow

Is there any way to return one of the variables as the final response of the workflow?

Have you tried to add a mapping to the end event?
In c7 there is the “Inputs” section in the end event properties

Hi @Ana_D

I am not sure I understand what your would like to do. Could you explain your use case for this? What do you mean by “final response of the workflow”?

If you use the withVariablesInReturn, the “variables” attribute in the payload returned by the API is just a map with the variable name as key. You can get any variable you need from that map.

BR
Michael

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.