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: 

Can you write a script to execute WF Escalation based on Time and Date?

3 REPLIES 3
Reply
Message 1 of 4
wendy.salas
388 Views, 3 Replies

Can you write a script to execute WF Escalation based on Time and Date?

Hello,

 

We have a Workspace that tracks days open, days close, etc. by combining metrics from 4 different Workspaces. Currently, we have this WS updating daily. However, this daily update works with the OOTB Escalation so it occurs at random times based on each associated Item.

 

We would like to be able to set the escalation to occur at 11:59pm every day and exclude weekends. THat way our metrics are standardized. Is there a way to do this via scripting?

 

Thanks!

3 REPLIES 3
Message 2 of 4

We have no service-like functionality yet.

 

So called Web Hooks and Evented Web is supposed to solve this for us in the future.

 

In the meanwhile,try this technique.  

  1. Create a timer workspace - "Timer" which is defined as "Basic Workspace with Workflow". 
  2. Create an instance in this Timer workspace and reference the both object that needs the periodic script and the script to run on that object.
  3. Create an Escalation Transition in this workspace that runs every day.  The transition delegates to a script which can be given whatever dynamic logic you need.

 

If you do it this way in another workspace, these workflow transitions are hidden from your main object and appears like a service is being run daily.

 

Does this help?

Message 3 of 4

Hi Tony,

 

is there a way to increase the frequency to run more than 1x per day?

 

Thanks!

Message 4 of 4

The only thing i can think of is to use an external server and trigger the transition via ReST API.  This would replace the esclation, but it would require a ReST API client.

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

Post to forums  

Autodesk Design & Make Report