CALE objects show warning: Calendar cannot be calculated

book

Article ID: 211408

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

Many calendars and keywords are throwing the error:

Error: 
Calendar: 'CALE.RRODS.MNLY' cannot be calculated or can only be partially calculated 
due to calendar events with invalid states or to broken links (caused by renamed/deleted calendar events or by imported calendars). 
The affected calendar events have been sent to the message window, message ID: 11882.

Reproduction:

Preconditions:
Calendar has an offset event, 
where an existing event is matched to a target event from the same calendar.  For example:
1) Create a calendar
2) Create two static events, here called EVENT1 and EVENT2
3) Create an offset event with Existing event EVENT1 and Target Event EVENT2
4) Rename calendar or delete EVENT2 - there will be no prompt to update all referenced events

 

Cause

This is caused by a bug where an calendar or event is renamed/deleted and the calendar has an offset event that references an event from the same calendar

Environment

Release : 12.3

Component : AUTOMATION ENGINE

Resolution

Troubleshooting steps (and workaround)

Attempt to rename a calendar object showing the warning.
Check the messages window to see something like:

U00011882 Cannot calculate calendar: '[CLNT]/[CALENDAR NAME]/[EVENT]', because this calendar depends on a calendar with an invalid status or the referenced calendar does not exist.
U00020328 Calendar keyword '[CALENDAR EVENT]' does not exist in Calendar '[CALENDAR NAME]'.

Go to client [CLNT], open the [CALENDAR NAME] object and check the [CALENDAR EVENT] and remove or fix the event that is causing the error.

Resolution

This will be fixed in a future service pack/release