Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Terminate End Event #79

Closed
ateodorescu opened this issue Apr 8, 2021 · 1 comment
Closed

Terminate End Event #79

ateodorescu opened this issue Apr 8, 2021 · 1 comment
Assignees
Milestone

Comments

@ateodorescu
Copy link
Contributor

Quotes from BPMN specification (Business Process Model and Notation (BPMN), v2.0.2):

  • "If a token reaches a Terminate End Event, the entire Process is abnormally terminated." (chapter 13.5.6)
  • "For a “terminate” End Event, the Process is abnormally terminated—no other ongoing Process instances are
    affected." (page 443)
  • "For a “terminate” End Event, the Sub-Process is abnormally terminated. In case of a multi-instance Sub-Process,
    only the affected instance is terminated—no other ongoing Sub-Process instances or higher-level Sub-Process or
    Process instances are affected." (chapter 13.5.6)

Basically when a token reaches the Terminate End Event all other existing tokens should be consumed and the active activities should be cancelled. This means that existing work items should be cancelled. If an activity has sub-processes then those process instances should be cancelled. The ProcessInstance could be marked an abnormally terminated.

@ateodorescu
Copy link
Contributor Author

Fixed in #81

@iteman iteman added this to the 2.0.0 milestone Apr 29, 2021
@iteman iteman closed this as completed Apr 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants