User-determined Workflow escalation period
I have a group of content that requires an approval workflow. I need to allow the contributor to specify how many days the item will remain in the review step. I have an escalation jump defined, but instead of
<$if parseDate(wfCurrentGet("lastEntryTs")) < parseDate(dateCurrent (-1) )$>
I need the user-designated variable (an integer) named "EscalationDays" to replace the (-1) above.
Do I need to wfSet something? Is there something like a "wfDays" key for this value? What would be the syntax of the above If statement if I can call a variable instead of a hard coded integer?
This is necessary because 1) I cannot designate only workdays so I need to allow flexibility for weekends and 2) some items are either very long and require more time for review, or very urgent and require rapid turnaround.
<$if parseDate(wfCurrentGet("lastEntryTs")) < parseDate(dateCurrent (-1) )$>
I need the user-designated variable (an integer) named "EscalationDays" to replace the (-1) above.
Do I need to wfSet something? Is there something like a "wfDays" key for this value? What would be the syntax of the above If statement if I can call a variable instead of a hard coded integer?
This is necessary because 1) I cannot designate only workdays so I need to allow flexibility for weekends and 2) some items are either very long and require more time for review, or very urgent and require rapid turnaround.
0