Support

Register your Product

Product Documentation

Knowledge Base

Contact Support

Community

User Group

Resources

Application Library

Flow Library

Script Library

Add unique ID to job name

A unique number is added to all jobs that go through this flow. The first job processed receives the number "1" in front of its name; this number is incremented for each subsequent job.

This flow is compatible with: PowerSWITCH.

Information

The script used in this flow shows how you can use a global counter. This results in a unique ID which is added to every job that passes through the flow. Even if you use this script element several times in the same flow or even in different flows, the counter will keep handing out unique IDs.

Using this flow

  • Download the flow and save it on your computer: download flow
  • Launch PowerSWITCH
  • Use the “Flow > Import…” menu item
  • In the dialog that is shown, select the flow file

The flow now appears in the flow list. You can now examine it or customize it to your needs.

© Copyright 2007 by Gradual Software.