IBM BPM, V8.0.1, All platforms > Create processes in IBM Process Designer > Modeling processes > Create a business process definition (BPD)

Assigning activities

For any activity with a service implementation, you can designate the users who receive the runtime task by using the Assignments page in the properties for that activity.

Assignment options are available only for those activities with a BPM service implementation.


Procedure

  1. In the Designer view, click an activity in a BPD diagram to display its properties.

  2. Go to the Assignments page in the properties view.

  3. From the Assign To list, choose one of the following options:

    Assignment Options
    Option Description
    Last User in Lane Assigns the runtime task to the user who completed the activity that immediately precedes the selected activity in the swimlane. Do not select this option for the first activity in a lane unless the activity is a service in a top-level BPD and a Start Event is in the lane. In this case, the runtime task is routed to the user who started the BPD.
    Lane Participant Assigns the runtime task to the participant group associated to the swimlane in which the selected activity is located (the default selection).
    Routing Policy Assigns the runtime task according to the policy that you establish.
    List of Users Assigns the runtime task to an ad hoc list of users.
    Custom Assigns the runtime task according to the JavaScript expression that you provide in the corresponding field. To select one or more variables for your expression, click the variable selection icon next to the field. The JavaScript expression produces results such as USER:<user_name> or ROLE:<group_name>, where user_name is the name of an IBM BPM user (such as tw_author) and group_name is the name of an IBM BPM security group (such as tw_authors).

  4. From the User Distribution list, choose one of the following options:

    User Distribution
    Option Description
    None IBM BPM assigns the runtime task to all potential users (the default setting).
    Load Balance From the potential users who can receive the runtime task, IBM BPM assigns to the users who have the fewest number of open tasks.
    Round Robin From the potential users who can receive the runtime task, IBM BPM assigns to users in a round-robin fashion.

    For example, if the users in the Call Center participant group must receive the runtime task, IBM BPM assigns each task (created by each process instance) in a series–to one user in the group after another.

Create a business process definition (BPD)