Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This ActionHandler assigns a swimlane to a user, which has been given in smartform form or by a process variable.

...

Info

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

...

Code Block
com.dooris.bpm.actionhandler.VariableAssignmentActionHandler

Parameter

Parameter 

Default value

Description

Valid examples

swimlane

Status
titlemandatory

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

name_of_the_swimlane

variable

Status
titlemandatory

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

Note

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

swimlane

Editor

variable

sys.support