Weekly or Monthly Schedules using skip calendar, and prior day exception, may run on prior day and post day

book

Article ID: 84324

calendar_today

Updated On:

Products

CA Automic Applications Manager (AM)

Issue/Introduction

Error Message :
N/A

When a schedule is blocked by a skip calendar and has a 'Prior Day' option selected, it will run on the 'Prior Day' as expected but it will also run a second time on the 'Next Day' which is not expected.

This can occur for both weekly and monthly schedules.

Investigation

A schedule is supposed to run the job on the x of the month. When the x day lands on an excluded date from a skip calendar, and a Prior day Exception is used. The job will run on the Prior day, and also the post day.

 

How to reproduce using a Monthly schedule.

  1. Create a process flow
  2. For the schedule on the process flow, create a new schedule as follows:
a. Frequency: Monthly
b. Reschedule from: select a date from the previous month that will fall on a Saturday in the future.
c. Select Prior Day
d. Select all weekdays

<Please see attached file for image>

0EMb0000000IWAB.png

  1. Create the Exceptions as follows:

a. Create a skip calendar and skip Saturdays and Sundays

<Please see attached file for image>

0EMb0000000IWAG.png 

Results

Actual: The process flow will run on March 31st and on April 3rd.

Expectation: The process flow will run on March 31st only.

Cause

Cause type:
Defect
Root Cause: When using weekly or monthly schedules if a schedule is blocked by a skip calendar and has a 'Prior Day' option selected it would run on the 'Prior Day' and sometimes on the 'Next Day'. It should only run on the 'Prior Day'.

Environment

OS Version: N/A

Resolution

Update to a fix version listed below or a newer version if available.

Fix Status: Released

Fix Version(s):
Applications Manager 9.2.1 - Available

Additional Information

Workaround :
Instead of using a monthly schedule, use a Calendar to pick the exact dates for the job to run.

Attachments

1558704262408000084324_sktwi1f5rjvs16liv.png get_app
1558704260320000084324_sktwi1f5rjvs16liu.png get_app