![]() |
|
![]() |
AutoMate Discussion | ![]() |
Topic Title: Changing workflow schedule interval Topic Summary: Created On: 10/24/2012 10:53 AM Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
||||||||||
Hello,
I am wondering if there is a method to increase the frequency a task is triggered based on whether or not it fails. For example, I have a task that pings an IP address. This task is triggered by a Schedule that runs every 10 minutes. If the IP address is not reachable, the task will fail. If a failure occurs, I want the task to be triggered every 3 minutes until it succeeds. What's the best way to go about this? Thanks, Matt
|
||||||||||
|
||||||||||
![]() |
||||||||||
Hi Matthew,
In order to accomplish your request you will need Two workflows. Your first Original Workflow will kick off every 10 minutes and check for a file. If the files DOES NOT exists continue to the Ping Task. If the Ping Task Fails create a File. Your Second 3 minute Workflow will check for the file created in the 10 minute task. If the file Exists it will continue to Ping. Once the Ping is met you will Delete the file which will allow the 10 minute workflow to continue and Stop the 3 minute task from running. Below is an example of how the Workflows will look 10 Min Workflow 10 Minute Schedule --> 1st Task (If file DOES NOT exists) --> Ping Task --> On Failure Create File 3 Min Workflow 3 Minute Schedule --> 1st Task (If file exists) --> Ping Task --> On Success Delete File Let us know if this works for you.
------------------------- ![]() Ricardo Castaneda | Principal Support Analyst AutoMate | Division of HelpSystems HelpSystems, LLC | T: +1.213.738.1700 |
||||||||||
|
||||||||||
![]() |
||||||||||
Hi Ricardo,
This appears to work properly, except that my PING task has an e-mail alert if the PING was unsuccessful. This means that: 1) When the 10 minute workflow fails, it sends out a notification e-mail, and then creates the "Escalation" file you mentioned in your post. 2) The 3 minute workflow sees that file and runs the PING task again, which sends out another notification. This is desired behavior except for the first time notifications are sent - it looks like I get two of them at the same time with this set up (one for the first time the 10 minute workflow fails and one when the 3 minute workflow fails) Any ideas on how to improve?
|
||||||||||
|
||||||||||
![]() |
||||||||||
Mi Matthew,
Is the Email that is being sent out in your task or does it have its own Task at the end of the Workflow. You may want to break it out so that the email is it's own task at the end of the workflow. We look forward to hear from you.
------------------------- ![]() Ricardo Castaneda | Principal Support Analyst AutoMate | Division of HelpSystems HelpSystems, LLC | T: +1.213.738.1700 |
||||||||||
|
FuseTalk Enterprise Edition v4.0 - © 1999-2021 FuseTalk Inc. All rights reserved.