Closed tbouffard closed 3 years ago
We already introduce a way to add custom behaviour/interaction to a BPMN element whose we know the id with #908, so we can also do it for Call Activity. Some examples have been created to navigate from a process to a call activity and go back
Examples and links to improvements have been provided in comments, so closing.
Our first use case is described in #422: we should let integration have a way to retrieve information about a selected Call Activity (or on mouse hover). This will allow to navigate to the targeted Call Activity in a new browser tab, light box, on the same page (replace the existing diagram). Notice that the Call Activity can be defined in the current BPMN Diagram or elsewhere (need to load new BPMN diagram resource).
With the issue, we should investigate the extension point the lib has to provide to cover the described use case.
Implementation notes We already have a way to identify BPMN elements in the DOM: the svg elements hold the BPMN element id in a dedicated attribute.