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: Exit Task with Warning
Topic Summary:
Created On: 09/10/2013 11:45 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.
 09/10/2013 11:45 AM
User is offline View Users Profile Print this message

Author Icon
LoriShearer
n00b (>6 posts)

Posts: 5
Joined: 07/23/2013

HelloI have a task that calls a stored procedure which executes a series of edit checks.  All checks run even when one fails.  If one of the checks fails, I would like to exit the automate task with a warning.  I can get the task to abort with a failure and continue to the next task but I need to be able to differentiate between a true failure and a warning when I check the reports the next morning.  What's the best way to do this in automate?Lori

-------------------------
<html />
 09/12/2013 11:26 AM
User is offline View Users Profile Print this message

Author Icon
JeanDelfosse
Supreme Guru (1000+)

Posts: 8883
Joined: 03/30/2005

Lori,
I may not fully understand the subtlety between warning and failure, so forgive me if I got it wrong.
Maybe on error of one step (which anyhow is set to continue on next step) you could set some variable to record that specific failure.
At the end of the series of tests you could check that/those error variables to issue a warning.

-------------------------
Jean Delfosse - Automate Beta Tester
Win7 Pro 64 bits -Win XP Pro SP3 32 bits - AM8, AM7, BPA10, BPA9, BPA8, BPA7, AM6 Enterprise, AM4
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 1575 guests browsing this forum, which makes a total of 1575 users using this forum.

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

Sitemap Network Automation Software Blog