Good Morning,
Is it possible to push a workflow along based on selected dates in a date field?
Thanks,
Stephen
Solved! Go to Solution.
Solved by gasevsm. Go to Solution.
It is not possible to trigger a transition based on a date, but it is possible to auto transition a workflow as long as something is triggering the script that will do the transition. One way to do that, for example, is to set an Escalation on a workflow state that will run a script after a certain number of days have passed.
Would having "TODAY" in my "if" command be sufficient?
The Target Quote Date is the date field I would like to push this workflow along and autosubmit is the transition ID.
I have also set-up escalations to run a script.
var type = item.TARGET_QUOTE_DATE;
if (type == "TODAY"){
item.performWorkflowTransition("AUTOSUBMIT");
}
Thank-you for your help,
Stephen