Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

State in BPMN diagram

Tags:

bpmn

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?

like image 406
Josef Kufner Avatar asked Jun 18 '16 13:06

Josef Kufner


People also ask

What are the BPMN symbols?

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.

What are the elements of BPMN?

There are four main elements of a BPMN diagram: flow objects, connecting objects, swimlanes, and data.

What are the three types of activities within a process in BPMN?

There are basically three BPMN activity types: BPMN Task. BPMN Sub-Process. BPMN Call Activity.

What is dotted line in BPMN?

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.


1 Answers

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

enter image description here

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.

like image 89
Suncatcher Avatar answered Oct 07 '22 01:10

Suncatcher