AnsweredAssumed Answered

Identifier Counter

Question asked by intrinsic on Sep 27, 2013
Latest reply on Jun 24, 2018 by Aleksey Bykov
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.