AssignMultiUserHandler

Description

This ActionHandler assigns a swimlane to multiple users, which are not yet part of a specific group. For this, a temporary group is created which is automatically deleted at completion of the process instance. To be more precise, the memberships are deleted and the group is archived so that it is still available for the reporting/auditing. Temporary groups are neither shown in the user profile nor in the admin’s group list.


Class

com.dooris.bpm.actionhandler.AssignMultiUserHandler

Parameter

Parameter name

Default value

Description

Valid examples

Parameter name

Default value

Description

Valid examples

swimlaneMANDATORY

 

Name of the swimlane is assigned here.

 Swimlane1

usersMANDATORY

 

Name of the process variable in which the users are saved. User names or email addresses may be used, but must be separated by a semicolon.

${myVariable}

 

Example:

Actionhandler is implemented on the node ‘Task1’ with event-type ‘Node-Enter’ as follows:

Parameter name

Description

Valid examples

Parameter name

Description

Valid examples

swimlaneMANDATORY

Swimlane2 is set here.

 Swimlane2

usersMANDATORY

Name of the process variable in which the users will be saved is set here.

${users}

Furthermore, a form with an input field with the variable name users is required for specifying the users.

When starting a new process instace, the input field "Users" in the form must be filled with the required users (either e-mail address of the users or user name separated by semicolon).

On the started process instance view, you can check this assignment in the "Swimlanes" tab. All tasks in Swimlane2, once open, are assigned to this temporary group of users.