Network Automation Software We are currently migrating this forum
over to our HelpSystems domain. Please
post all new threads in our new
HelpSystems Community Portal.
Post to the HelpSystems Forum
You are not currently logged on. You must be logged on in order to post. Log on
Or Create a new account
AutoMate Discussion
Decrease font size
Increase font size
Topic Title: Changing workflow schedule interval
Topic Summary:
Created On: 10/24/2012 10:53 AM
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
View similar topics View similar topics
View topic in raw text format. Print this topic.
 10/24/2012 10:53 AM
User is offline View Users Profile Print this message

Author Icon
MatthewKoch
Apprentice (20-49)

Posts: 26
Joined: 12/19/2011

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

 Category Survey
 10/24/2012 02:59 PM
User is offline View Users Profile Print this message

Author Icon
Ricardo Castaneda
HelpSystems

Posts: 3424
Joined: 01/11/2008

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.

 Category Survey
AutoMate BPA Server 7 version:
Windows version:


-------------------------

Ricardo Castaneda | Principal Support Analyst
AutoMate | Division of HelpSystems
HelpSystems, LLC | T: +1.213.738.1700
 10/26/2012 10:40 AM
User is offline View Users Profile Print this message

Author Icon
MatthewKoch
Apprentice (20-49)

Posts: 26
Joined: 12/19/2011

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?

 Category Survey
 10/30/2012 10:58 AM
User is offline View Users Profile Print this message

Author Icon
Ricardo Castaneda
HelpSystems

Posts: 3424
Joined: 01/11/2008

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.

 Category Survey
AutoMate BPA Server 7 version:
Windows version:


-------------------------

Ricardo Castaneda | Principal Support Analyst
AutoMate | Division of HelpSystems
HelpSystems, LLC | T: +1.213.738.1700
Statistics
18258 users are registered to the AutoMate Discussion forum.
There are currently 0 users logged in.
The most users ever online was 5551 on 01/08/2018 at 11:11 AM.
There are currently 1198 guests browsing this forum, which makes a total of 1198 users using this forum.

FuseTalk Enterprise Edition v4.0 - © 1999-2020 FuseTalk Inc. All rights reserved.

Sitemap Network Automation Software Blog