Newbie: Working through the "Get holiday" REST Service Task in github

As above, I’m a complete newbie working through the REST Service Task in github.

The example in github calls the service using a test harness, with the dates to be checked hard-coded.

If you were to deploy the example and have had collected the date in a variable from a form previously in the process, how would the code look like to call the service inside?

<bpmn2:serviceTask id="ServiceTask_1" name="Check if date is holiday">

Thanks

@theHornet take a look at: HTTP-Connector POST Payload configuration and GET URL Parameters with variables?

Some example files and good code samples. Make sure to read through the comments as there were adjustments to the original bpmn file (there was a typo in the POST header config)

1 Like

Thanks Stephen, much appreciated.