VariableAssignmentActionHandler

Description

This ActionHandler assigns a swimlane to a user, which has been given in form 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: https://tim-doc.atlassian.net/wiki/spaces/eng/pages/228068572.

If you combine this actionhandler with the Connector GetUserByGroup via the Formdesigner, 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

Parameter 

Default value

Description

Valid examples

swimlane mandatory

 

The name of the swimlane, to which the user should be assigned, is entered here.

name_of_the_swimlane

variable mandatory

 

In order to execute the assignment, the variable may take one of the following forms in order to choose a user/group:

  • user(UserName)

  • Email address of the user

  • User ID

  • Username of the user

  • group(GroupName)

  • Group name

  • ID of the 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.

name_of_the_variable

autoAssignSingleActor

false

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.

true

assignmentReset

false

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.

true



Example:

 

Parameter

Example

Parameter

Example

swimlane

Editor

variable

sys.support