Skip to content

[FEAT] CasePathResolver: add a method that returns the "full path" i.e compute both Shapes and Edges #22

Description

@tbouffard

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.

Currently, the existing method of PathResolver considers only flowNodes/shapes in the input parameters and returns only the visited flows/edges.

Describe the solution you'd like

Provide a new method dedicated to the management of a single case instance (create a new CasePathResolver class) that returns the "full path" including:

This will require to explicitly split the data returned by the method to identify the input (objects retrieved from the provided ids) from the computed elements. See also #24.

Additional context

We could use it in the "predictions" demo. We are not using PathResolver in the demo for now as it is not considering edge in the input (process-analytics/bpmn-visualization-examples#520). See process-analytics/bpmn-visualization-examples#573.
See also process-analytics/bonita-day-demo-2023#122

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions