A process represents how work is done from start to finish. It defines a template that can be followed again and again whenever the same type of work needs to happen. Processes are the collection of components that are used to build and represent business processes using BPMN 2.0 specification.
Process are modeled (i.e. designed) in Studio Modeler and then executed during runtime as separate applications that are available for end users who want to interact with them.
There are three concepts associated with modeling processes to understand and differentiate between:
-
Diagrams are the container that process definitions are modeled in. A process diagram can contain multiple process definitions. Diagrams are visual, high-level representations of the process.
-
Process definitions are set of elements, configurations, and other settings that a process follows when it is executed, made up of BPMN elements and sequence flows. A process definition describes the business logic that will be followed repeatedly at runtime.
-
Process instances are specific single running instances of a process definition. Each process instance is filled with data required by the template, but uses the actual, real instances for the execution.
Each process instance must have a unique process instance ID but they can share the same process definition ID indicating which process definition was used to start the process instance. There can be any number of process instances running using the same process definition in an N:1 relationship.