Automation Anywhere Client FAQs on Scripting, Tasks, Triggers, Variables, Visualize Technology, Image Recognition :
Scripting FAQs
I have been using VBScripts and JScript to accomplish some of my routine work. Can I somehow reuse them in your automation software?
Yes. Not only you can integrate disparate scripts like VBScripts & JScripts within an Automation Anywhere task but you can use in-built automation services like repeat, notification, etc., on VBScript & JScripts as well.
Automation Anywhere Editor has a command 'Run Script' . You can use this command to Run your VBScript or JScript files from Auto-mation Anywhere. You can even pass arguments to your VBScript and JScript files as you might have been doing it to run it through command prompt. You can also have return values, if any, to your VBScripts and JScript files.
How do I know if my Script ran without any Error?
You can use the 'If Script Successful' sub-command inside the 'If command'. This command will run the script and will execute the 'If - End If' block only if the script ran successfully.
Tasks FAQs
Can I run many tasks in a batch?
Yes, You can create a new task in which you can use 'Run Task' command to run your individual tasks.
When I use "Run Task" command, how do I know if the task successfully completed?
You can use the 'If Task Successful' sub-command inside the 'If command'. This command will run the task and will execute the 'If - End If' block only if the task ran successfully.
Triggers FAQs
Can I execute a task based on availability or non-availability of any file, folder, performance or service?
Yes, it is possible to execute a task with Triggers, based on availability or non-availability of any file, folder, performance or service. There are triggers based on Window (open or close), File (create, delete, renamed or modified), Performance (CPU usage, free disk space, process count) and Process and Services.
Is there a way to perform a task when a new email arrives?
Yes. Automation Anywhere has a trigger functionality that can perform any task when a new email arrives. You need to set the'Email Message Trigger' on the task.
Variables FAQs
How do I use a variable in the task?
You can use variable inside different commands like'Insert Keystrok', 'Open Program/File','Files/Folders'. In all the commands variable names are specified by enclosing the variable names in between the $ sign. For e.g. $Password$
If I create a variable for one task, can I use it in another task?
What is Visualize Technology in Automation Anywhere?
Automation Anywhere Premier has an in-built Visualize Technology that allows for pictorial and storyboard views of the automated task. Visualize Technology is used in the different views in Task Editor, to capture images on demand with SnapPoint and Image Recognition with the IF command.
What is SnapPoint in Automation Anywhere?
In Automation Anywhere Premier when a task is recorded the images of all mouse clicks and keystrokes are captured automatically. But when a task is created in Task Editor the images need to be captured on demand. SnapPoint allows you to capture images on demand; just enable SnapPoint and set it for the commands that you want.
What is Image Recognition in Automation Anywhere?
Image Recognition is another feature of the Visualize Technology available in Automation Anywhere Premier. Image Recognition allows the recognition and comparison of images. It allows your automated task to "see".
I have been using VBScripts and JScript to accomplish some of my routine work. Can I somehow reuse them in your automation software?
Yes. Not only you can integrate disparate scripts like VBScripts & JScripts within an Automation Anywhere task but you can use in-built automation services like repeat, notification, etc., on VBScript & JScripts as well.
Automation Anywhere Editor has a command 'Run Script' . You can use this command to Run your VBScript or JScript files from Auto-mation Anywhere. You can even pass arguments to your VBScript and JScript files as you might have been doing it to run it through command prompt. You can also have return values, if any, to your VBScripts and JScript files.
How do I know if my Script ran without any Error?
You can use the 'If Script Successful' sub-command inside the 'If command'. This command will run the script and will execute the 'If - End If' block only if the script ran successfully.
Tasks FAQs
Can I run many tasks in a batch?
Yes, You can create a new task in which you can use 'Run Task' command to run your individual tasks.
When I use "Run Task" command, how do I know if the task successfully completed?
You can use the 'If Task Successful' sub-command inside the 'If command'. This command will run the task and will execute the 'If - End If' block only if the task ran successfully.
Triggers FAQs
Can I execute a task based on availability or non-availability of any file, folder, performance or service?
Yes, it is possible to execute a task with Triggers, based on availability or non-availability of any file, folder, performance or service. There are triggers based on Window (open or close), File (create, delete, renamed or modified), Performance (CPU usage, free disk space, process count) and Process and Services.
Is there a way to perform a task when a new email arrives?
Yes. Automation Anywhere has a trigger functionality that can perform any task when a new email arrives. You need to set the'Email Message Trigger' on the task.
Variables FAQs
How do I use a variable in the task?
You can use variable inside different commands like'Insert Keystrok', 'Open Program/File','Files/Folders'. In all the commands variable names are specified by enclosing the variable names in between the $ sign. For e.g. $Password$
If I create a variable for one task, can I use it in another task?
Variables created for one task are only available
locally for that task and not for any other task. But, if you have upgraded
from a lower version to version 5.5 and above, all the variables created in the
lower versions will be available to you as global variables that can be used
with any task.
List variable can have many different text values. When I use the list variable which value will be executed?
Every time a task comes across a list variable during the playback, the next text value in the sequence of the list variable is used. If the list variable reaches the last text value then its subsequent reference will return the first text value.
Is it possible to store special characters like Tab key in a variable?
Yes, you can store any special character as a text value in a variable.
I have to run a task that needs to use a different value for a variable in every repeat. How do I do that with your automation software?
Automation Anywhere provides "Loop – End Loop" commands. You can place your repetitive task inside a Loop – End Loop block.
You can use a List variable inside it for data that keeps on changing with each loop.
What are these System Variables $CurrentDirectory$, $FolderName$ and $FileName$?
These system variables are used with commands 'Loop for Folders in a folder' or 'Loop for Files in a folder'.
Consider a command in the task - "Loop for Folders in a".
Here the is the specified folder
on which the Loop will execute. Its full path is available at execution time by
the system vari-able "$CurrentDirectory$"
If has 'n' number of folders, the
loop will be executed 'n' times. Each time the $FolderName$ variable will have
the next folder's name inside the specified folder.
Now if the task is like "Loop for Files in a".
Then $FileName$ will represent the next file name inside the specified folder.
Outside the loop $CurrentDirectory$, $FolderName$ and $FileName$ doesn't have any usage.
Visualize Technology FAQs
List variable can have many different text values. When I use the list variable which value will be executed?
Every time a task comes across a list variable during the playback, the next text value in the sequence of the list variable is used. If the list variable reaches the last text value then its subsequent reference will return the first text value.
Is it possible to store special characters like Tab key in a variable?
Yes, you can store any special character as a text value in a variable.
I have to run a task that needs to use a different value for a variable in every repeat. How do I do that with your automation software?
Automation Anywhere provides "Loop – End Loop" commands. You can place your repetitive task inside a Loop – End Loop block.
You can use a List variable inside it for data that keeps on changing with each loop.
What are these System Variables $CurrentDirectory$, $FolderName$ and $FileName$?
These system variables are used with commands 'Loop for Folders in a folder' or 'Loop for Files in a folder'.
Consider a command in the task - "Loop for Folders in a
Here the
If
Now if the task is like "Loop for Files in a
Then $FileName$ will represent the next file name inside the specified folder.
Outside the loop $CurrentDirectory$, $FolderName$ and $FileName$ doesn't have any usage.
Visualize Technology FAQs
What is Visualize Technology in Automation Anywhere?
Automation Anywhere Premier has an in-built Visualize Technology that allows for pictorial and storyboard views of the automated task. Visualize Technology is used in the different views in Task Editor, to capture images on demand with SnapPoint and Image Recognition with the IF command.
What is SnapPoint in Automation Anywhere?
In Automation Anywhere Premier when a task is recorded the images of all mouse clicks and keystrokes are captured automatically. But when a task is created in Task Editor the images need to be captured on demand. SnapPoint allows you to capture images on demand; just enable SnapPoint and set it for the commands that you want.
What is Image Recognition in Automation Anywhere?
Image Recognition is another feature of the Visualize Technology available in Automation Anywhere Premier. Image Recognition allows the recognition and comparison of images. It allows your automated task to "see".
No comments