Search code examples
bpmncamunda

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?


Solution

  • Try:

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