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
Procedure
- In the Project Explorer view, right-click the Resources folder and click Add Resource.
- Type a name for the resource.
- In the Properties view, on the Parameters page, under the Parameters table, click the Add icon
.
- Type a name for the parameter.
- To define an item definition to the type of parameter,
click the Add
or Browse icon
.
- 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.