This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:software:tim:actionhandler:yearidgenerator [2016/01/14 12:44] amanda.zens |
en:software:tim:actionhandler:yearidgenerator [2021/07/01 09:52] (current) |
||
---|---|---|---|
Line 2: | Line 2: | ||
=======YearIDGenerator======= | =======YearIDGenerator======= | ||
- | The [[en:software:tim:actionhandler|Handler]] creates an number, which can be used as a unique classification. Typically, the generated ID is connected by the [[en:software:tim:actionhandler:renameinstancehandler|RenameInstanceHandler]]. | + | ==== Description ==== |
- | THe generated ID is set-up as such: YYYYxxxx; | + | |
- | in which YYYY is the current yearr und xxxx represents a sequential counter number (Example: 20110001). | + | The [[:en:software:tim:actionhandler|Handler]] creates an number, which can be used as a unique classification. Typically, the generated ID is connected by the [[:en:software:tim:actionhandler:renameinstancehandler|RenameInstanceHandler]]. The generated ID is set-up as such: YYYYxxxx; in which YYYY is the current year und xxxx represents a sequential counter number (Example: 20110001). |
+ | |||
+ | ---- | ||
- | ------ | ||
==== Action Class ==== | ==== Action Class ==== | ||
<code> | <code> | ||
Line 22: | Line 24: | ||
== Mandatory Fields == | == Mandatory Fields == | ||
- | Here, the user can set a variable to which the created value is written can be set. See [[#Example]] | + | Here, the user can set a variable to which the created value is written. See [[#Example]] |
<note warning>Caution: The variable name "id" may not be used!</note> | <note warning>Caution: The variable name "id" may not be used!</note> | ||
Line 31: | Line 33: | ||
== pattern == | == pattern == | ||
- | The parameter is optional and can be used to build [[en:glossar#process_variable|Process variable(s)]] into [[en:glossar#process_instance|Process instance names]]. | + | This parameter is optional and can be used to build [[en:glossar#process_variable|Process variable(s)]] into [[en:glossar#process_instance|Process instance names]]. |
- | Here, the variable #{key} an be called upon. See [[#Example]] | + | Here, the variable #{key} can be called upon. See [[#Example]] |
== length == | == length == | ||
The "length" parameter increases the ID length by a specified number of consecutive numbers.\\ | The "length" parameter increases the ID length by a specified number of consecutive numbers.\\ | ||
"length" can be set manually. For instance, if "length=5" is entered, the ID will be composed of the current year + 5 consecutive numbers. | "length" can be set manually. For instance, if "length=5" is entered, the ID will be composed of the current year + 5 consecutive numbers. | ||
- | > If nothing is set manually, the ID i composed of the current year + 4 consecutive numbers by default. | + | > If nothing is set manually, the ID is composed of the current year + 4 consecutive numbers by default. |
== prefix == | == prefix == | ||
This adds a specified prefix to the generated ID, with a blank space between the prefix and the ID | This adds a specified prefix to the generated ID, with a blank space between the prefix and the ID | ||
- | > This parameter is __**only**__ chosen when the **pattern** parameter is no being used! | + | > This parameter is __**only**__ chosen when the **pattern** parameter is not being used! |
---- | ---- |