camunda/camunda-bpmn-moddle

Add support for timeout task listeners

tmetzke opened this issue · 1 comments

Hey,

starting with Camunda BPM Runtime 7.12.0-alpha4, time-triggered task listeners can be used.

An example configuration looks like this:

...
<bpmn:userTask id="myTask">
  <bpmn:extensionElements>
    <camunda:taskListener delegateExpression="${setBusinessKeyListener}" event="timeout" id="timeout-friendly" >
      <bpmn:timerEventDefinition>
        <bpmn:timeDuration xsi:type="bpmn:tFormalExpression">PT1H</bpmn:timeDuration>
      </bpmn:timerEventDefinition>
    </camunda:taskListener>
  </bpmn:extensionElements>
</bpmn:userTask>
...

Modifications:

  1. Value timeout allowed for event attribute of camunda:taskListener
  2. Element timerEventDefinition now allowed as a child of camunda:taskListener, but only if the event of the camunda:taskListener is set to timeout
  3. New attribute id for camunda:taskListener, only mandatory if event of camunda:taskListener is set to timeout

UI-wise all existing property panel controls for TimerBoundaryEvents can be used here as well for the timer event definition, if the timeout value is chosen as event type of the task listener.

If you have any questions concerning this, let me know! :)

It would be great to have Modeler support for this for Camunda BPM Runtime 7.12 (due November 30, 2019).

Thank you guys,
Tobi

nikku commented

Thanks for opening this issue.

I'm closing this in favor of camunda/camunda-modeler#1540. Please open future modeling related feature requests in the Camunda Modeler repository.