ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Trigger event with REPLACE and trigger ADD.

book

Article ID: 226018

calendar_today

Updated On:

Products

ESP Workload Automation

Issue/Introduction

Manually triggered application with REPLACE option are picking up tomorrow's date in ESP variables. 

 

Cause

An event is scheduled to trigger at 5am and triggers successfully. However, due to max generations of the application on CSF, the application failed to load. Deleted several older generations of the application to free up space. The event was manually triggered again with REPLACE option and the application loaded successfully. When the jobs started to execute the ESPSDATE variable was picking the date for the next business day.

                                  

Environment

Release : 11.4

Component : CA ESP WORKLOAD AUTOMATION

Resolution

Reason for this behavior is once the event manager triggered the application with REPLACE the scheduled date for the event moved to the next day. Regardless if the application loads or not.

EXAMPLE: 

EVENT ID(BABRI02.TESTSYM2)  SYSTEM(X120M)  REPLACE 
SCHEDULE 05.00 DAILY STARTING THU 14TH OCT 2021    
INVOKE 'BABRI02.ESP.TESTPROC(TESTSYM2)'            
ENDDEF        

In this case you want to trigger the event with an ADD. This will add the application to the current day and not advance the Schedule time.