cancel
Showing results for 
Search instead for 
Did you mean: 

Identifier Counter

intrinsic
Champ in-the-making
Champ in-the-making
Hey y'all,

As a business requirement and auditing purposes we are needing a unique workflow counter eg: IT0001 (incremental counter IT0001,IT0002,IT0003)
I have just not been able to work out how to implement such a counter, I was told that it can be done using javascript.
Could anybody please assist in showing me the correct way of doing it.

Below is some information concerning the Alfresco Build:
Alfresco 4
MySQL database
Custom Workflows created in Eclipse Juno
I can imagine the script with need to be in the workflow otherwise where in the repository must it be placed in order for the workflow to use it without having permission issues.

Any assistance would be greatly appreciated.
1 REPLY 1

anon26949
Star Contributor
Star Contributor

You could try using property sys:node-dbid, for example.