Reset environment variable every day

Confluence User - 03 Sep, 2015

I want to use auto number in my order form. The format is like yymmdd+running number. How can I reset running number (i.e. environment variable) every day by programming script? Thanks a lot.

forms

2


07 Sep, 2015
confluenceUser
confluenceUser

Hi there,

You could try to use Counter Increment Tool (Enterprise).

 

Hope this helps!

 

Thanks,

Ashutosh Tripathi

10 Sep, 2015
confluenceUser
confluenceUser

Check out https://github.com/jogetworkflow/jw-community/blob/4.0-SNAPSHOT/wflow-core/src/main/java/org/joget/apps/form/lib/IdGeneratorField.java and study, then write the Java code to update the value and put the script in a tool, part of a workflow.

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print