I want to activate activity manually in the workflow instance #6862
Replies: 1 comment
|
Yes. Updating the definition and running an alteration does not automatically infer that a newly added parallel branch should start, but the alteration system has a After the instance has been updated to the definition containing This should be treated as a workflow-specific migration rule: only schedule the new branch when starting it for an existing instance is semantically correct, and test it with representative persisted instances. Relevant source: |
Uh oh!
There was an error while loading. Please reload this page.
Issue Description
I am working with a workflow scenario where activities are event-type activities.
Initial workflow definition:
Workflow instance is created.
Activity A is triggered and completed.
Activity B is now active.
Later, I update the workflow definition to:
Here, C is a newly added event-type activity running in parallel with B.
I then run alteration (migration) to update the running instance to the latest version.
The alteration succeeds without errors.
Problem
After migration, activity C is not being activated automatically.
For my use case, I need the newly added event activity (C) to be activated as part of the alteration, even though the instance was already running before the workflow change.
Question
Is this possible with the existing functionality of alterations?
If not, what is the recommended way to achieve this behavior?
My goal is that when I add a new event activity in parallel to an already running one, alteration should also activate it in the running workflow instance.
All reactions