camunda / camunda-bpm-platform

Flexible framework for workflow and decision automation with BPMN and DMN. Integration with Quarkus, Spring, Spring Boot, CDI.
https://camunda.com/
Apache License 2.0
4.11k stars 1.55k forks source link

TimerStartEvent triggers dynamic expression on application restart #2418

Closed ThorbenLindhauer closed 1 year ago

ThorbenLindhauer commented 4 years ago

This issue was imported from JIRA:

Field Value
JIRA Link CAM-12403
Reporter NYBzR2x
What is this name? This pseudonym name was generated based on the user name in JIRA to protect the personal data of our JIRA users. You can use this identifier to search for issues by the same reporter.
Has restricted visibility comments false

User story

When a process starts with a TimerStartEvents, I want the application to re-evaluate its expression sso that it reads the new value every time the application restarts.

Scenario

When having a TimerStartEvent that gets its value dynamically as the result of a spring bean expression. This works fine at the first start of the application.

However, when the value inside the spring bean changes and the application starts again (without changing the bpmn file), the new value is not read and the startEvent works with the old value.

Acceptance criteria

Links:

tasso94 commented 1 year ago

This is a duplicate of camunda/camunda-bpm-platform#2570. Herby, I close this issue.