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: detect BPMN links #20

Open
tbouffard opened this issue Jul 18, 2023 · 0 comments
Open

[FEAT] CasePathResolver: detect BPMN links #20

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.

Is your feature request related to a problem? Please describe

In #12, we try to detect start/end events.
We could evaluate if we can do the same with BPMN links, based on the completed successors and predecessors or any other information that could be relevant in the model.

Having process-analytics/bpmn-visualization-js#2855 may help.

Describe the solution you'd like

This should be enable only when an option is set, see #23. For example, an option named inferLinkEvents.

As a first step, the processing is closed to the one done for start/end event in #12
Find catch and throw link events that can be deduced from completed elements.
This is something closed to inferring pending elements

  • a throw link event directly following a completed element should be computed as completed
  • a catch link event directly before a completed element should be computed as completed

As a second step, we can use process-analytics/bpmn-visualization-js#2855 to infer more link events

  • given the computed catch and throw link events, find their related source/target using the new bpmn-visualization feature
  • consider them as completed

Interactions with #145: do the 2nd step before inferring the pending element.
This use case requires dedicated tests. If this issue is implemented prior to #145, create a dedicated issue to manage this specific use case. Otherwise, implement it as part of this issue.

Question

  • do we split the implementation into several steps, to move quickly and iteratively?
  • list more precise use cases in the "solution"
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