Variables for rest call from bpmn

@theHornet take a look at this:

When using the HTTP-Connector, you use “payload” in the connector’s input parameter.
Create a JSON string for the returned value of payload using JS or Groovy.

Can also take a look at:
https://medium.com/@stephenrussett/handling-government-business-processes-across-administrative-divisions-digitalstate-406f86d4fd56#.rvkwbv9pz
the above provides a working example of a POST web service call, building a JSON payload, and parsing the response.

Edit: Also review: Evaluate Decision | docs.camunda.org, as Evaluate is a POST endpoint, but your method is currently set to GET.

1 Like