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

[FEAT] CasePathResolver: handle "forward lonely edge" from an exclusive gateway targeting a merge exclusive gateway #10

Open
tbouffard opened this issue Jul 18, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@tbouffard
Copy link
Member

tbouffard commented Jul 18, 2023

DISCLAIMER:

  • this issue describes path computation for a single instance/case only. So the implementation will go to the CasePathResolver class as it differs from PathResolver which is a generic implementation that both deals with single instance or all instances of a process.
  • this issue only deals when the following element of the exclusive gateway linked with a lonely edge is an merge exclusive gateway

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

Sometimes, there is an exclusive gateway with a branch without element (ege only).
When detecting path of

  • a single instance, only detect the "lonely edge" as "activated" when not passing through the other branches.
  • several instance, the "lonely edge" can be activated if never passing through the other branches. Otherwise, we can only assume that this edge is a candidate ([FEAT] CasePathResolver: categorize the elements returned in the inferred path #24). We would need a frequency information to be able to decide.

Note: this use case doesn't apply to parallel gateways (we don't want to support non conformant model)

flowchart LR
    task --> gatewaySplit{X}
    gatewaySplit --> task1 --> gatewayMerge{X}
    gatewaySplit --> task2 --> gatewayMerge
    gatewaySplit --> gatewayMerge 
    gatewayMerge --> anotherTask

Loading

Describe the solution you'd like

Handle the case when it is obvious.

Questions

@tbouffard tbouffard added the enhancement New feature or request label Jul 18, 2023
@tbouffard tbouffard changed the title [FEAT] PathsResolver: handle "forward lonely edge" with exclusive gateways [FEAT] PathResolver: handle "forward lonely edge" with exclusive gateways Jul 18, 2023
@tbouffard tbouffard changed the title [FEAT] PathResolver: handle "forward lonely edge" with exclusive gateways [FEAT] CasePathResolver: handle "forward lonely edge" with exclusive gateways Oct 9, 2023
@tbouffard tbouffard changed the title [FEAT] CasePathResolver: handle "forward lonely edge" with exclusive gateways [FEAT] CasePathResolver: handle "forward lonely edge" from an exclusive gateway targeting a merge exclusive gateway Nov 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant