GenerateIdentityProcessVariablesHandler

Description

This ActionHandler creates new user-based variables containing the email address, first name and last name.

The actionhandler needs the variable name as an input. This variable should contain the user name to create user-based variables.


Class

com.dooris.bpm.actionhandler.GenerateIdentityProcessVariablesHandler

 

Parameter

Parameter name

Default value

Description

Valid examples

Parameter name

Default value

Description

Valid examples

identityProcessVariables
Mandatory

n/a

The name of the process variable, which must contain the username of a user.

The new variables are thus named:

  • name_of_process_variable + Email

  • name_of_process_variable + LastName

  • name_of_process_variable + FirstName

For example, if the variable is named “user”, then the email related variable would be named “userEmail”.

exampleUser

More variables can be added with comma separation i.e. variable1, variable2,variable3

 

Example:

 

In order to use this actionhandler, the user needs to enter the variable names which are coming from the related form input field. We created a form with two input fields called userNameVariable and userNameVariable2 as the following:

We have added the GenerateIdentityProcessVariablesHandler to the ‘Generate Identity Based Variables’ node and set the identityProcessVariables to the variables names from the form.

Parameter name

Description

Example values

Parameter name

Description

Example values

identityProcessVariables

Variables names from the form which will contain the desired user name for generating variables.

userNameVariable,userNameVariable2

 

We filled out the form with two user names called exampleUser and exampleUser2.

After clicking the ‘Save’ button, a report will be created and can be downloaded from the Properties Tab.

Result report for the example is the following: