AnsweredAssumed Answered

TASK: Anyone found a way to get the value of the variable revision in filename

Question asked by Joy Garon on Feb 14, 2013
Latest reply on Feb 14, 2013 by Joy Garon

Hi All,


I ran into a chicken and egg situation.


I have a simple workflow:   initial state is WIP, transitioning to PENDING APPROVAL, transitioning to RELEASED

On the transition from WIP to PENDING APPROVAL there are two actions: Set Variable (revision to %nextrevision%) and a task to generate a PDF.

If there is a problem with the PDF the REJECT transition sends it back to WIP and the process repeats.

Once everything is acceptable the transition ACCEPTED for RELEASE moves the file from PENDING APPROVAL to RELEASED and does an INC REV to stamp the revision.


So the issue is this: we want the revision in the PDF name, but, the revision hasn't been stamped yet (only the variable value has been populated).

Has anyone found a way to use the revision variable value in the filename?