Question

System Agent Schedule Business Day d

  • 9 March 2022
  • 2 replies
  • 74 views

Userlevel 1

Has anyone setup a system agent schedule that runs on business day? Essentially we want to schedule our process sets to run on the first day of the month unless its the weekend then it should run on the Monday.

 


2 replies

Userlevel 2

You could write a BPM that looks at the SysAgentSched table and anytime the NextRunOn field is updated, check the day of the week. If it’s a weekend or holiday, change the NextRunOn date to the next day. You might be able to make use of the Production calendar for determining if it’s a business day or not. Whatever you end up doing, I’m curious how you solve it. It’s been something I’ve wondered at times also. 

I was just going to say the default option in System Agent to do what you’re asking but perhaps a BPM. Dan.ramirez thought about it much deeper and detailed than I so +1 to his suggestion.

 

 

Reply