IDGenerationActionhandler

Description

This handler generates an ID with a chosen length and saves this in a process variable.


Class

com.dooris.bpm.actionhandler.IDGenerationActionHandler

 


Parameter

Parameter

Default value

Description

Valid examples

Parameter

Default value

Description

Valid examples

processVariable

n/a

Here the name of the process variable can be given, in which the ID should be saved.

processVariableName

length

4

With length, the length of the ID can be determined. If this parameter is not used, the length is 4 characters long.

6

resetBy

year

With this parameter, it can be determined, how often the ID should be reset. If this parameter is not used, the ID will be reset to 0000 for every calendar year and starts new.

  • month

  • year

 

Example:

In this example IdGenerationActionHandler is set on the task.

 

Parameter

Description

Example values

Parameter

Description

Example values

processVariable

The name of the process variable from the form can be set here to store the generated ID.

generatedID

 

Generated ID result can be seen on the form after the ‘Start process instance’ is clicked.

Â