Timed action not on the weekend

We have a process where priority is increased each day the folder sits in a particular stage.   I can do a timed action to increment daily but I don't want to include the weekend.  Ie, if it's a priority 4 on Friday, it shouldn't be a priority 2 on Monday.   Any simple solution ideas? 

 

Thanks!

Tagged:

Comments

  • The 'duration' property of a timed action has the option to set it to 'weekdays' only. So you set the timed action to run 1 weekday after the last time the prioirty was updated. Don't use ProcessContext.WhenFolderLastUpdated as that gets changed by user actions. Have a seperate custom variable for 'LastPriorityChange'.

     

    Rick.

     

    (PS: Don't forget to include code to stop chaning the prioirty when it gets to 1!)

  • Perfect!   Thank you.