Fusion Manage Forum
Welcome to Autodesk’s Fusion Manage (formerly Fusion 360 Manage) Forum. Share your knowledge, ask questions, and explore popular Fusion Manage topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Auto-Transition Workflow Based on Date Fields

3 REPLIES 3
SOLVED
Reply
Message 1 of 4
MrSJM88
441 Views, 3 Replies

Auto-Transition Workflow Based on Date Fields

Good Morning,

 

Is it possible to push a workflow along based on selected dates in a date field?

 

Thanks,

 

Stephen

3 REPLIES 3
Message 2 of 4
dvirh
in reply to: MrSJM88

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. 

Hagay Dvir
Engineering Manager
Fusion Manage
Autodesk, Inc.
Message 3 of 4
gasevsm
in reply to: MrSJM88

By that analogy, a script can initiate a WF transition for an item using
item.performWorkflowTransition() method pivoting on your date rule. You need something to trigger that script, like the escalation example Hagay mentioned.

See the scripting reference for more info. http://help.autodesk.com/view/PLM/ENU/?guid=GUID-BBBBAB3B-FEAE-4EB7-8D1B-29E76EC6BC65

Also see the scripting examples page for possible use case.

Hope this helps,

Martin Gasevski | Fusion 360 Team Product Manager
Message 4 of 4
MrSJM88
in reply to: gasevsm

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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report