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
DISCLAIMER: this issue describes path computation for a single instance/case only. So the implementation will go to the
CasePathResolverclass as it differs fromPathResolverwhich 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
PathResolverconsiders 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
CasePathResolverclass) that returns the "full path" including:BpmnSemantic) corresponding to the ids passed as inputs that exist in the modelThis 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
PathResolverin 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