SNO
SNO

Reputation: 876

Camunda BPMN http-connector POST taskId

I created a BPMN using the Camunda BPMN Modeler. Now I have a Service-Task with an BPMN-Error:

enter image description here

The Service-Task should call a REST-API using the http-connector. Sending the request the TaskId needs also to be send so that I can call the BPMN-Error-Rest-Url in case of errors.

How do I configure the BPMN to send the TaskId as Query-Parameter in the URL respectively what is the correkt taskId-Expression-Key?

Upvotes: 0

Views: 715

Answers (1)

rob2universe
rob2universe

Reputation: 7628

Try:

http://www.my-apid.de?taskId=${execution.activityInstanceId}

Upvotes: 1

Related Questions