Suspend/Resume and Hold/Release do not work.
search cancel

Suspend/Resume and Hold/Release do not work.

book

Article ID: 54570

calendar_today

Updated On:

Products

ESP Workload Automation

Issue/Introduction

Triggers will start and not stop or will never run at all.

 

 

Environment

All Releases: ESP Workload Automation 

Resolution

The Hold/Suspend counts must be correct prior to the Suspend/Resume or Hold/Release commands being issued.

For example this event was used:

EVENT ID(CYBER.PAYROLL) SYSTEM(MSTR)  REPLACE                  
SCHEDULE 03:59 EVERY 15 MINUTES STARTING SAT 25TH OCT 2008 
RESUME 04.00 DAILY STARTING SAT 25TH OCT 2008              
SUSPEND 07.00 DAILY STARTING SAT 25TH OCT 2008             
INVOKE ESP.APPLIB(PAYROLL)'                      
ENDDEF 

This event will come in @03:59 with a suspend count of 0. When the resume is encountered the suspend count becomes -1. The trigger will continue to run every 15 minutes.

It's important to have the suspend count set to the correct value prior to schedule time. In the above example you have a few options. First you can schedule the trigger for 4:01. You can manually increase the trigger count for the first run only by issuing SUSPEND again to set it back to 0.

If an Event is both suspended and held at its scheduled execution time, ESP WA ignores the hold state and considers the Event suspended.