How to represent state in BPMN diagrams?
I have a BPMN diagram describing behavior of an entity. There are some actions and arrows between the actions. I would like to express that between two given actions the entity is in a particular state.
Is is possible in BPMN?
A business process model and notation diagram, or BPMN diagram for short, is used to build easy-to-read business process model flowcharts, which can be shared across organizations and industries. BPMN diagram symbols are categorized into four main groups: flow objects, connecting objects, swimlanes, and artifacts.
There are four main elements of a BPMN diagram: flow objects, connecting objects, swimlanes, and data.
There are basically three BPMN activity types: BPMN Task. BPMN Sub-Process. BPMN Call Activity.
Dotted line that annotates a shape, similar to a callout. Association lines are also used for compensation flow, which is not part of the sequence flow. Associations are for annotation only.
In BPMN Data Modeling is used for such aim. In process modelling it is essential to model the items (objects) which are manipulated and used during the execution of the process. The most common element for doing this in BPMN is Data Object, which is typically pictured like this
According BPMN 2.0 specification:
The primary construct for modeling data within the Process flow is the DataObject element. A DataObject has a well-defined lifecycle, with resulting access constraints.
The Data Object class is an item-aware element. Data Object elements MUST be contained within Process or Sub- Process elements.
Moreover, if we stick to your question, there is special attribute of Data Object which is called DataState. According the specification:
Data Object elements can optionally reference a DataState element, which is the state of the data contained in the Data Object. The definition of these states, e.g., possible values and any specific semantic are out of scope of this International Standard.
As you can see, these states are not well-documented and implemented not by all vendors. For example, Camunda supports it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With