RenameInstanceHandler

Description

The ActionHandler RenameInstanceHandler renames the current instance by any text that can contain variables.


Class

com.dooris.bpm.actionhandler.RenameInstanceHandler

Parameter

Parameter name

Default value

Description

Valid examples

Parameter name

Default value

Description

Valid examples

instanceName mandatory

 

N/A

instanceName will determine the name of the process instance.

Variables are specified as ${variablename}

Onboarding of ${nameOfTheEmployee}

 

 

Example:

In this example, we will use a form for a new employee which has a field with a variable called nameOfTheEmployee.

Parameter name

Description

Example Values

Parameter name

Description

Example Values

instanceName

 

The variable nameOfTheEmployee is used here with the fixed text 'Onboarding of' to create employee specific onboarding forms.

Onboarding of ${nameOfTheEmployee}

 

The name of the process instance will be changed when ‘Rename Instance Handler’ is started after entering the employee name as John Doe.

Process instance with the updated name:

 

Â