![]() |
![]() |
We are currently migrating this forum over to our HelpSystems domain. Please post all new threads in our new HelpSystems Community Portal. |
![]() |
|
![]() |
AutoMate Discussion | ![]() |
Topic Title: Trigger task based on the execution status of another task Topic Summary: Created On: 01/09/2017 02:27 AM Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Hello all, I'm having two tasks that do the following:
Since some times the files are received later that the sheduled trigger, we miss the SLA because of the late data processing. To avoid that, an easy solution would be to trigger Task B as soon as Task A finishes. However, in case the expected files do not arrive at all in one day, based on the suggested solution, we'll be unable to generate the NAK report to inform the customer. Consequently, what I would like to do is to add a later scheduled trigger to Task B (e.g. set 21:00 as a cut off point) and if Task A hasn't been executed at all at the examined day, execute Task B. Via this way, the NAK report generated will be valid. Is there any way to monitor the execution status of Task A and implement the aforementioned solution? Thanks a lot in advance and apologies for the lengthy text. Regards, Stelios P.S.: Unfortunately, I cannot attach the tasks since it's against my company's policy. |
|
|
|
![]() |
|
Hi Stelios,
The most straight forward way to do this would be to create a date stamped marker file as part of Task A. This could be a log or simply an empty file. Then when task B is scheduled to run, have it look for that marker file, using an IF file present action. You can have the marker file deleted as part of this process, using an else action to send your email. Attached is a simple example of this. Task Steps: (Right click, Select All, Copy to copy to the clipboard. Steps can then be pasted into the AutoMate Task Builder) ------------------------- ![]() Justin Aucoin | Support Analyst AutoMate | Division of HelpSystems HelpSystems, LLC | T: +1.213.738.1700 | F: +1.213.738.7665 |
|
|
|
![]() |
|
Hi Justin, I didn't think the obvious - thank you Kind Regards, Stelios |
|
|
|
![]() |
|
Hi Stelios,
I'm glad we were able to be of assistance. ------------------------- ![]() Justin Aucoin | Support Analyst AutoMate | Division of HelpSystems HelpSystems, LLC | T: +1.213.738.1700 | F: +1.213.738.7665 |
|
|
FuseTalk Enterprise Edition v4.0 - © 1999-2021 FuseTalk Inc. All rights reserved.