biz-dev-ops / web-components

Apache License 2.0
0 stars 0 forks source link

Deeplinking processes in bpmn viewer #110

Open arjangeertsema opened 4 days ago

arjangeertsema commented 4 days ago

Description

BPMN processes can contain sub processes. See for example:

Screenshot 2024-06-30 at 11 07 49

This sub process has the id: Activity_SubProcess

When a valid sub process path is added to the viewer the viewer should show the sub process instead of the main process when it is rendered for the first time.

<bpmn-viewer show-process="Activity_SubProcess" />

Multiple process are possible, and are separated wit a /:

<bpmn-viewer show-process="Activity_SubProcess/Activity_AnotherSubProcess" />

If the show-process value is not valid it should show the main process together with an error message.

Definition of done: