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. |