Creating resources for BPMN diagrams

You create a resource to specify the resources that activities can reference. Multiple activities can use the same resource. Every resource can define a set of resource parameters. For example, a task may have a resource with role defined as a human performer who would carry out that particular task. You can also use these parameters at run time to define a query. Every activity that references a parameterized resource can bind values in the scope of the activity to these parameters.

About this task

A lane with a resource assigned to it has its activities assigned to the corresponding resource role.

Procedure

  1. In the Project Explorer view, right-click the Resources folder and click Add Resource.
  2. Type a name for the resource.
  3. In the Properties view, on the Parameters page, under the Parameters table, click the Add icon .
  4. Type a name for the parameter.
  5. To define an item definition to the type of parameter, click the Add or Browse icon .
  6. To select a Structure for the parameter, click the Browse icon. The structure can be UML or XSD, and can be an integer, Boolean, long, or other value.

Results

In the following diagram, a resource is created with a string structure:


Feedback