ExtendedIDGenerator

Description

The handler generates an ID, which can be used as a unique classification and extends the functionality of the YearIDGenerator handler. Typically, the generated ID is integrated by the https://tim-doc.atlassian.net/wiki/spaces/eng/pages/228264358.


Class

com.dooris.bpm.actionhandler.ExtendedIDGenerator

 

Parameter

The generated ID can be called on using the variable #{key}, and can then be processed in the handler.

Parameter

Default value

Description

Valid examples

Parameter

Default value

Description

Valid examples

processVariable

 

Here, the user can set a variable to which the created value is written. e.g. counter.

Caution: The variable name "id" may not be used!

counter

counterName

 

This parameter sets the id generation to this counterName context. Multiple counterNames in different process definitions will generate ids in their counterName context.

counter55

year

 

This parameter is optional and sets the year. Should the year be set for example to 2019 the id counter will continue to raise and not start every year anew.

 

length

4

The length parameter increases the ID length by a specified number of consecutive numbers. Length can be set manually. For example, if “length=5” is entered, the ID will be composed of the current 5 consecutive numbers like 00001. 

If nothing is set manually, the ID is composed of the current four consecutive numbers by default.

 

startingValue

1

Only to be used in the current year.