Creating data association in BPMN diagrams

Data associations in BPMN diagrams have data inputs or outputs that connect to the input or output specification of an activity or global task. A data association can have a data object, data store, process data input, or process data output as its source.

Before you begin

You must have a data object, data store, process data input or output and a task or activity in your diagram that have a data association between them.

About this task

The data association property section is used to define a From and To Expression to create an assignment for the data association. For each element specified, the From Expression is evaluated to get the source value. The To Expression is evaluated to assign the target element. The target element can be any element in the context or a sub-element of it, for example a data object. The source value is copied to the target element. The From and To Expression can be any valid expression like a XPath expression that evaluates to the required value. Once the To Expression and From Expressions are defined, the item definitions at the source and target of the data association are not required to be the same.

Procedure

  1. In the diagram editor, click on the connector that is called a data association.
  2. In the Properties view, on the General page, enter a name, From and To expression, and tags.

Example


Feedback