How to create a extended calendar every 4 weeks on Friday
search cancel

How to create a extended calendar every 4 weeks on Friday

book

Article ID: 199150

calendar_today

Updated On:

Products

CA Workload Automation AE - Business Agents (AutoSys) CA Workload Automation AE - System Agent (AutoSys) CA Workload Automation AE - Scheduler (AutoSys) Workload Automation Agent CA Workload Automation AE

Issue/Introduction

How can I create an extended calendar for every 4 weeks on Friday?

This is not the same as the 4th Friday of the month.

Environment

Release : 11.3

Component : CA Workload Automation AE Agent for SAP

Resolution

First create a cycle that includes 4 week periods.
Then define an extended calendar to use the cycle and to only schedule it for the first friday of each period within the cycle.
Example::

Example:

cycle: cycle-4weeks
description:
start_date: 08/30/2020
end_date: 09/26/2020
start_date: 09/27/2020
end_date: 10/24/2020
start_date: 10/25/2020
end_date: 11/21/2020
start_date: 11/22/2020
end_date: 12/19/2020
start_date: 12/20/2020
end_date: 01/16/2021
start_date: 01/17/2021
end_date: 02/13/2021


extended_calendar: 4th-friday-AP
description:
workday: mo,tu,we,th,fr
non_workday:
holiday:
holcal:
cyccal: cycle-4weeks
adjust: 0
condition: Cfri#1

Given that you would have to create many periods within a cycle it may be just as easy to instead use a standard calendar and just select the specific Fridays you want.