I personally never ACTIVATE_UC_OBJECT objects directly. I always activate worklfows due to several reason. One is, that you might put the MRT on the JOBP so the MRT will apply even if the host is not available. Another reason is the availability of Pre/PostCondition that could check whether the agent is available before it starts.
The usage of the SLA object very depends on your design-concept. It might make sense if you have multiple requirements like this. If it is only useable for a few cases, your operations (if there is any) could be confused if an issue appears since the handling of SLA object differs from the rest.
In the end it's up to you what suits you best :-). Glad if I could help.
------------------------------
Head of chief line manager senior hot air warmer
Swisscom
------------------------------
Original Message:
Sent: 07-02-2019 04:09 AM
From: Vojtech Bures
Subject: Alert if file not on time
Well, Joel, thanks for this. I guess this is the smartest solution, as the SLA object was build for that purpose. I already made a working solution, but will definitely build another one using the SLA object. Another reason is, that if I have an event of type FILE and the host is not active, it is not terminating after fixed MRT, because it's not considered as running when the host is inactive.
Thank you for your help!
Original Message:
Sent: 07-02-2019 02:23 AM
From: Joel Wiesmann
Subject: Alert if file not on time
One Automation, many ways ;-).
With Automation Engine V12 you might make use of the SLA object.
------------------------------
Head of chief line manager senior hot air warmer
Swisscom
Original Message:
Sent: 07-01-2019 05:09 PM
From: Pete Wirfs
Subject: Alert if file not on time
Our approach is to program a new workflow to execute at the time of day we would like the alert to go out. This workflow consists of a single task designed to send an email alert to the appropriate staff. But this task also has a precondition rule that checks for the existence of the desired file. This precondition rule either tells the email task to run or skip.
Original Message:
Sent: 07-01-2019 04:38 PM
From: Vojtech Bures
Subject: Alert if file not on time
Thanks Timothy, this is very smart solution.
Original Message:
Sent: 07-01-2019 02:34 PM
From: Timothy Yanosko
Subject: Alert if file not on time
What I'm doing to accomplish this is create and event that begins Sunday through Thursday at 00:00 with the following
File SystemTab
Check PATH_FILE_COUNT=1 and FILE_CHANGED within 05:01 (File is expected not later than 05:00 Monday - Friday)
Runtime Tab
Maximum Run Time Fixed Value 05:00:00 Else Cancel / Quit Execute FILE_LATE_ALERT
Original Message:
Sent: 07-01-2019 10:09 AM
From: Vojtech Bures
Subject: Alert if file not on time
Hello,
I am trying to build an alerting mechanism for my customer, to alert whether the file was not transferred within defined timeframe. I have a file event, watching for files availability within defined timeframe. What is your best pracise to alert, whether the file was not present within the timeframe (event process was not executed)?
Thanks for your suggestions!