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:
0
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!)
0 -
Perfect! Thank you.
0
Categories
- All Categories
- 123 Developer Announcements
- 54 Articles
- 153 General Questions
- 148 Thrust Services
- 57 Developer Hackathon
- 37 Thrust Studio
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 918 Core Messaging
- 84 Digital Asset Management
- 9.4K Documentum
- 32 eDOCS
- 188 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 8 XM Fax
- Follow Categories