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

Document ID : KB000084324
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
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

0EMb0000000IWAB.png

  1. Create the Exceptions as follows:

a. Create a skip calendar and skip Saturdays and Sundays

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.
Environment:
OS Version: N/A
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'.
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.