Description
This ActionHandler assigns a swimlane to a user, which has been given in smartform or by a process variable.
During process modeling, an assignment must still be given to the affected swimlane.
In order to assign the instance starter to a specific swimlane, the following handler may be employed: AssignStarterToSwimlaneHandler.
If you combine this actionhandler with the Connector GetUserByGroup via the Smartformdesigner, the parameter .label
which gives the result as Firstname Lastname(username)
cannot be used. Handler only works with the parameter .name
which gives the result as username
.
Class
com.dooris.bpm.actionhandler.VariableAssignmentActionHandler
Parameter
Parameter | Default value | Description | Valid examples |
---|---|---|---|
| The name of the swimlane, to which the user should be assigned, is entered here. |
| |
| In order to execute the assignment, the variable may take one of the following forms in order to choose a user/group:
If only a name is entered for the variable, the list of users will be searched for this name. If a match is found, this user will be chosen. If no match is found, the groups are then searched and the match will be assigned to the swimlane. |
| |
|
| If autoAssignSingleActor is true and a group with only just one member is assigned, the swimlane is assigned to the user and the group instead of just the group. This ensures that tasks can be transferred to another user in the event of absence. |
|
|
| This indicates if all previous assignments should be deleted before beginning the new assignment. In order to restore the assignment, “assignmentReset=true” must be given. |
|
Example:
Parameter | Example |
---|---|
|
|
|
|