Intelligent Automation & Macro Software  

Go Back   Tethys Solutions Forums > Products Zone > Automation Anywhere
Register FAQ Search Today's Posts Mark Forums Read

Automation Anywhere Post messages and questions related to Automation Software here.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-12-2007, 05:18 PM
terrymartin terrymartin is offline
Junior Member
 
Join Date: Oct 2007
Posts: 13
Default Notification

I noticed on the General Properties you can send a notification when it has completed.

Can I have the script send me an email if it fails?

Terry
Reply With Quote
  #2 (permalink)  
Old 10-13-2007, 02:20 AM
forumsupport forumsupport is online now
Senior Member
 
Join Date: Apr 2007
Posts: 524
Default

Hello Terry,

Definitely yes, you can use ‘Send Email’ command to send an email as part of the task. What you can do is use ‘Send Email’ command inside ‘If Script unsuccessful’ command. The text format of your commands will look like this:

1) If VB Script unsuccessful("C:\Documents and Settings\My Documents\Automation Anywhere\Automation Anywhere\My Scripts\Sample Scripts\abc.vbs ") Then

2) Send email: Subject: "Error Occurred."

3) End If


You can find ‘Send Email’ command under ‘Internet’ command category.


Hope that helps.
Reply With Quote
  #3 (permalink)  
Old 10-15-2007, 07:10 AM
terrymartin terrymartin is offline
Junior Member
 
Join Date: Oct 2007
Posts: 13
Default One more question on notification

Do you put it at the en of the script?

Terry
Reply With Quote
  #4 (permalink)  
Old 10-16-2007, 08:22 AM
forumsupport forumsupport is online now
Senior Member
 
Join Date: Apr 2007
Posts: 524
Default

Hello Terry,

You need to keep this in the task (.atmn) and not the script (.vbs) at the location where you are calling the script to execute.
Reply With Quote
  #5 (permalink)  
Old 10-22-2007, 07:30 AM
terrymartin terrymartin is offline
Junior Member
 
Join Date: Oct 2007
Posts: 13
Default

That is not going to do me any good if it is not running on my machine. So I can't do it in an exe.

Terry
Reply With Quote
  #6 (permalink)  
Old 10-27-2007, 04:22 AM
forumsupport forumsupport is online now
Senior Member
 
Join Date: Apr 2007
Posts: 524
Default

Could you please send us your phone number and convenient time of call so that we can have one of our experts contact you and help you out?
Alternatively, you can reach us at 1-888-484-3535(Toll free).
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 12:00 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.0 ©2007, Crawlability, Inc.
Copyright © 2003-2008 Tethys Solutions, LLC. All rights reserved