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

Defining Participant Group rules

When you choose to establish participant group members by using an expression, you can define rules to determine those members.

To define rules, follow these steps:


Procedure

  1. Click Add Rule to choose the type of rule you want.

    When defining rules, you have the following types from which to choose:

    Rule types available for defining participant groups
    Rule type Description
    Participant Rule Enables user selection according to participant group membership.
    User Attribute Rule Enables user selection based on user attributes. To learn how to create user attribute definitions, see Create a user attribute definition.
    Expression Rule Enables the selection of users who match a particular expression that you provide.

  2. Supply the necessary information for the type of rule that you choose.

    • For a Participant Rule, supply the input that you want for the following specification:

      Who belong to participant group select participant.

      Input required for a Participant Rule
      Expression Action
      belong Click belong to choose either belong or do not belong.
      select participant Click select participant to choose an existing participant group.

    • For a User Attribute Rule, supply the input that you want for the following specification.

      To learn how to create user attribute definitions, see Create a user attribute definition.

      Who have an attribute select user attribute equal to enter value.

      Input required for a User Attribute Rule
      Expression Action
      select user attribute Click select user attribute to select an existing user attribute definition.
      equal to Click equal to to choose from: equal to, not equal to, less than, less than or equal to, greater than, or greater than or equal to.
      enter value Click enter value to display a field in which you can enter either an IBM BPM variable or a JavaScript expression that produces the value that you want to compare. Be sure to surround any strings in the expression with double quotation marks.

      For example, when you select Using Expression and define a User Attribute Rule, you can enter an expression that returns a default value when the complex variable is null and the attribute for the variable otherwise.

      For example, if the user attribute is a string, the expression can be:

      tw.local.processData==null ?                                    
      "":tw.local.processData.targetView.complexity
    • For an Expression Rule, supply the input that you want for the following specification:

      Who match expression enter value.

      Input required for an Expression Rule
      Expression Action
      match Click match to choose either match or do not match.
      enter value Click enter value to display a field in which you can enter either an IBM BPM variable or a JavaScript expression that produces the value that you want to compare. Be sure to surround any strings in the expression with double quotation marks. The expression must evaluate to a specific user name.

Create a participant group