Diagram patterns

Hi,
I would like to have bpmn diagrams available as process patterns that can be used to model a new process without re-design them. User can save a diagram fragment (that represents the pattern) in a library, and then use it in other diagrams. Is there a plugin related this? or do you have ideas on how to proceed?thanks

@lory76 you can create element templates for each activity and can reuse it in various process definitions.

Refer the below element template documentation:

https://docs.camunda.org/manual/7.12/modeler/element-templates/

https://blog.camunda.com/post/2016/05/camunda-modeler-element-templates/

I don’t refer to a single activity but to ad entire piece of diagram that can be reused in other diagrams. Any ideas?

BPMN Call Activity references an Activity defined in a process that is external to the current process definition. It allows you to create a reusable process definition that can be reused in multiple other process definitions. So if you want to reuse the entire process definition in another process, you need to consider Call Activity as the best component.

You can refer the below example how one process is being referenced in another process. The example is more dynamic assignment based on decision, instead you can configure your process directly in calledElement attribute instead of the expression.

1 Like

See answer here: https://forum.bpmn.io/t/diagram-patterns/4181/6