-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Handle collapsed sub-processes #1443
Comments
List of Problems we need to solve: https://github.com/marstamm/embedded-sub-process-prototype/ Prototypes can be tried out here: https://marstamm.github.io/embedded-sub-process-prototype/ |
I shared the current prototypes with @andreasgeier and @volkergersabeck. The key results of the discussion are:
We need to clear up some fundamental questions:
Next Steps:
|
Overview of all Prototypes and the outcome so far: https://docs.google.com/spreadsheets/d/1tbMYnNGHUFw42-aXuF_u8nge5hetUd8auaPKdYvGG8c/edit?usp=sharing
A sub-process can contain all elements a root-process can, namely Activities, Events, Gateways, Sequenz Flows and common elements such as Messages. This includes event-based sub-processes in the sub-process. Pools and Participants can not be part of a Process. |
User TestsWe are using the prototypes for user tests. Part one covers navigating the Diagrams, the second part covers borders/display of child processes. Notes are shared in this miro board (WIP) |
Technical Prototype preparationsOutcomes:
Miro Board: https://miro.com/app/board/o9J_l-lFgjQ=/ |
Breakdown from the first PrototypeThe Prototype is on the branch BPMN Structure
Diagram-JS
BPMN-JSImport
Modeling
Saving
Navigation Features
|
Team alignmentSynced with the designers of Product Teams to understand where Problems could pop up OptimizeIn general, the integration with Optimize seems to be straight-forward
Features:
OperateThe main issue is the overlap with badges in the lower-right corner. This is a problem when a Sub-Process has incidents.
CockpitSimilar issue as Operate.
|
Miro Link for Kickoff: https://miro.com/app/board/o9J_l7NuUV4=/ |
UX review (intermediate state)Attendees: @marstamm @andreasgeier
Action points
|
@marstamm We did not talk about the scalability of the breadcrumb. Do you already have a solution for long breadcrumbs that would exceed the viewport width? (this also includes long labels of subprocesses) |
No, I have not thought about long breadcrumbs yet. One possibility is to use ellipsis and only show the first and last x Layers in those cases. E.g. We could also think of a maximum width and |
Should be fixed in token simulation. We should not account for extensions and how they do things in the core. |
In addition to this, we plan to move the breadcrumbs to the expanded sub-process once we display it, so the conflict might only exist on a specific version or not at all |
@marstamm Let's add your proposals for scalability to the list of todos.
|
Quick sync @marstamm and @andreasgeier New challenges because of the "ghost" borders:
|
Sync results with @marstamm: In addition to unsolved UX issues Ghost elements cause a number of technical issues, both implementation wise and when integrating with the new feature in other applications. ➡️ We'll make a conscious decision whether to support them. My proposal is to drop them for the time being. |
Results of a minor modeling without ghost elements spike: We are able to support basic modeling operations using the abstractions we got. What we need to implement is nothing out of the ordinary, which is a good sign. Still, a long walk to go 👜. Basic findings:
|
Results of my spike available on the |
Result of Today's meeting:
|
Just wondering, is there any target for support modeling of collapsed subprocesses. Issue #1553 seems to be merged, but in the demo environment ( https://demo.bpmn.io/ ), I can't seem to find it. |
Hi @kurtsys-howest , Thanks for your interest in this feature 😄 Once everything is done (and this issue is closed), we will release a new major version of bpmn-js, which we will then also be available on the demo Site. |
Released as v9.0.0 |
Any clue when to expect a new stable release of camunda-modeler to support this? |
12.April 2022 is the plan. You can already use it in the nightly |
We only use stable but April's 12th is just a week away. |
What should we do?
In Q2/2021 we want to have an initial implementation allowing collapsable sub-processes in bpmn-js.
Various design and technical solution approaches exists. Hence we need to:
support drill-down via tabs
,keep undo/redo history across levels
, ...)Implement Ghost elements "Ghost-Elements" are used to display context in the Sub-Process #1484plane#name
->element.id
) relationship in the presence of updating the ID property of an elementImplement Ghost element modelingUpdate Secondary Object/Fake Connections when Primary is changedMoving the expanded process on the implicit root should not be possible/have intuitive behaviorDecide how resizing of the expanded Process is handledHandle secondary boundary event element updatesWhy should we do it?
Several requests to have this from customer side exist and we commited to deliver a solution.
Also see a variety of existing related issues (list not complete):
Requirements
Resources
Tracking the Rollout through this issue: https://github.com/bpmn-io/internal-docs/issues/340
The text was updated successfully, but these errors were encountered: