U00011094 Task '<Task Name>' is not activated due to the specified Calendar settings.
search cancel

U00011094 Task '<Task Name>' is not activated due to the specified Calendar settings.

book

Article ID: 205546

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine CA Automic One Automation

Issue/Introduction

We are getting the following task errors within a schedule: There is a significant business impact because scheduled tasks were not executed:

U00011093 Cannot start task '<Task Name>'. See following message.2020-12-17 11:00:10 - U00007019 Access to calendar '<Calendar Name>', keyword: '<Calendar Event>' is out of the validity area ('2020-12-18 > 2020-12-17').
U00011093 Cannot start task '<Task Name>'. See following message.2020-12-17 11:30:11 - U00007019 Access to calendar '<Calendar Name>', keyword: '<Calendar Event>' is out of the validity area ('2020-12-18 > 2020-12-17').
U00011093 Cannot start task '<Task Name>'. See following message.2020-12-17 12:30:11 - U00007019 Access to calendar '<Calendar Name>', keyword: '<Calendar Event>' is out of the validity area ('2020-12-18 > 2020-12-17').
U00011094 Task '<Task Name>' is not activated due to the specified Calendar settings.

Environment

Release : 12.3.x

Component : AUTOMATION ENGINE

Cause

The error:

U00011093 Cannot start task '<Task Name>'. See following message.2020-12-17 11:00:10 - U00007019 Access to calendar '<Calendar Name>', keyword: '<Calendar Event>' is out of the validity area ('2020-12-18 > 2020-12-17').

Means the time period (validity period) defined in the calendar object:

'<Calendar Name>'

with the following calendar event definitions:

'<Calendar Event>'

has expired.

Resolution

For STATIC or Non-recurring keywords:

  1. Open the calendar object
  2. Click on the edit icon for the keyword
  3. Update the "Maintained until" entry

For Weekly, Monthly, Yearly, Group, or Offset keywords:

  1. Open the calendar object that has the problem
  2. Open any keyword
  3. Make a "dummy" change - click a checkbox then unclick it, add a day remove the day, etc...
  4. Save the changes made
    Updating one keyword like this will cause all other non-Non-Recurring keywords to be updated as well

Prevention

For monitoring and early prevention of hitting this error:

Monitor WP logs

Monitor WP logs for lines like:
U00007019 Access to calendar '<CALENDAR NAME>', keyword: <KEYWORD AREA>' is out of the validity area ('<VALID UNTIL DATE> > <TODAY'S DATE>').

Use CALE_WARN_* client settings

There is a UC_CLIENT_SETTING called CALE_WARN_LEVEL which pairs with CALE_WARN_NOTIFICATION.  The documentation on these is fairly limited but can be found here: https://docs.automic.com/documentation/webhelp/english/AA/12.3/DOCU/12.3/Automic%20Automation%20Guides/help.htm#AWA/Variables/UC_CLIENT_SETTINGS/UC_CLIENT_CALENDAR_Parameters.htm

You can set CALE_WARN_LEVEL to a certain threshold of days like 30.  Set CALE_WARN_NOTIFICATION to an object that can be executed like a notification object.  You can use the following to read the calendar info into the object and print them out:

:READ &UC_CAUSE_NAME,,
:PRINT "The calendar &UC_CAUSE_NAME is expiring, please check"

Community discussion

There are some SQL statements some customer have found that can help check for keywords that are outside a validity period: https://community.broadcom.com/communities/community-home/digestviewer/viewthread?MID=786584

Additional Information

Alternatively you can implement NOW_PLUS key in the UC_CLIENT_SETTINGS and push the number of years in the future that can be used to perform calculations based of your Calendar Event Definitions defined above.
For more information, please see the following documentation on this topic:

https://docs.automic.com/documentation/webhelp/english/AA/12.3/DOCU/12.3/Automic%20Automation%20Guides/help.htm#AWA/Objects/obj_calendar.htm#link2