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

Prevent continuation of process instance, if end flow node is not an end event #46

Closed
gclaussn opened this issue Oct 29, 2021 · 0 comments · Fixed by #61
Closed

Prevent continuation of process instance, if end flow node is not an end event #46

gclaussn opened this issue Oct 29, 2021 · 0 comments · Fixed by #61
Assignees
Labels
feature Indicates a new feature request

Comments

@gclaussn
Copy link
Collaborator

gclaussn commented Oct 29, 2021

If the end flow node of a test case is a NOT an end event that ends the process instance, the generated test case must ensure that the process instance does NOT continue. At its worst, the process instance may passes activities and sequence flows with undefined or unresolvable delegates and expressions.

When generating a test case, an information about the end flow node, if it ends the process instance, must be kept in the generated code. The BpmndtParseListener should be able to access and process this information. If required, it must set the asyncAfter property of the end flow node to true. Moreover no handleXXXAfter should be generated for the end flow node.

An end flow node ends the process instance, if it is an end event and the flow node's direct parent is the process element. Otherwise the continuation must be prevented.

@gclaussn gclaussn added the feature Indicates a new feature request label Oct 29, 2021
@gclaussn gclaussn changed the title Prevent process instance to continue, if end flow node is not an end event Prevent continuation of process instance, if end flow node is not an end event Oct 29, 2021
@gclaussn gclaussn self-assigned this Nov 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Indicates a new feature request
Projects
None yet
1 participant