Question
1
Replies
610
Views
Posted: October 30, 2018
Last activity: November 21, 2018
Closed
Recurring Agent Scheduling Logic
Hi All,
In Advanced Agent of 'Recurring' pattern, how the next-run date/time is calculated and saved?
Say for example, I have an advanced agent of recurring pattern to run on Monthly basis on 'the second weekday of every 3 months'. So how the next agent run date/time is calculated and saved? I need the logic for that.
Ref: pzRecurrence (Flow Action)
Thanks,
Nabendu
***Edited by Moderator: Pallavi to update platform capability tags***
If agent is running for the first time,
if second weekday is past the current date time, next run time is calculated as second weekday in next month.
if second weekday is in future, next run time is set second weekday of that month
From second run,
it adds three months to the last run time and finds the second weekday in that month.