question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Be able to edit timeout event on task listeners

See original GitHub issue

Is your feature request related to a problem? Please describe.

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

An example 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>
...

Expected solution

  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
  • 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.

Additional context

Should be shipped with Camunda Modeler until 30th of November, as it is supported in the upcoming Camunda Platform 7.12 release.

Original opened issue: https://github.com/camunda/camunda-bpmn-moddle/issues/50.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
nikkucommented, Oct 25, 2019

Let’s restrict the UI side for now. Reasoning:

  • The engine validates anyway
  • Validation is super complex on the moddle side for this one
0reactions
pinussilvestruscommented, Oct 30, 2019

Waiting for upstream changes to be released, cf. https://github.com/bpmn-io/bpmn-js-properties-panel/pull/321

Read more comments on GitHub >

github_iconTop Results From Across the Web

Task Listener event- timeout is not working properly
So I wanted to hit an API at every 20 seconds when I get to a User Task in my flow.
Read more >
Task Listener - Events - LifeCycle - Authorization - Camunda
Task Listener - Events - LifeCycle - Authorization - CamundaScript: task.setVariable('assignee_problems_user_name', task.
Read more >
puppeteer-cluster: Setting a timeout on individual execution ...
I'm considering to pass a timestamp along with my tasks so it can skip doing anything for requests that have expired on the...
Read more >
Set Behavioral Trigger Session Timeout Limit - Salesforce Help
In the Behavioral Triggers app, click the settings gear icon . · Select a timeout limit. · Click Save.
Read more >
Handling Events :: Eloquent JavaScript
That kind of input isn't available as a well-organized data structure—it comes ... Event listeners are called only when the event happens in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found