Add support for timeout task listeners
tmetzke opened this issue · 1 comments
tmetzke commented
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:
- Value
timeout
allowed forevent
attribute ofcamunda:taskListener
- Element
timerEventDefinition
now allowed as a child ofcamunda:taskListener
, but only if theevent
of thecamunda:taskListener
is set totimeout
- New attribute
id
forcamunda:taskListener
, only mandatory ifevent
ofcamunda:taskListener
is set totimeout
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.