File trigger job is not working when placing on Manual Hold
search cancel

File trigger job is not working when placing on Manual Hold

book

Article ID: 219995

calendar_today

Updated On:

Products

ESP Workload Automation

Issue/Introduction

A File_Trigger job is set to trigger an event after the file arrives.  If the event is placed on HOLD, and then RELEASE after the file arrives, the event does not get triggered.  

Sample FILE_TRIGGER job:                               
                                                                  
FILE_TRIGGER winfile                                                
  AGENT winagent                                                      
  RUN ANY                                                            
  FILENAME 'c:\temp\test.txt' CREATE CONTINUOUS(T001) NOCHANGE(2) 
 ENDJOB    

(Alert T001 triggers an event.)  

Environment

Release : All

Component : ESP WORKLOAD AUTOMATION

Resolution

This is working as designed.

If an event gets triggered via an alert or a monitor point, and the event's hold counter is positive, the event is not triggered.   

The same applies to using SUSPEND and RESUME.

Solution:

Hold the application instead of holding the event.  Release the application when it is ready to run. 

Ex: APPL  applname HOLD