Professional Documents
Culture Documents
Compares two strings and returns True if the strings are Source String: “Hello World”
String compare Compare to string: “Hello TRUE
identical.
World”
Locates a given string within the source string. Returns 0 if
Source String: “Hello World”
String find string not found, otherwise returns the position of the found 6
Find string: “World”
string.
Source String: “The brown The
String split Splits the source string into multiple strings using a delimiter. fox”
Brown
Delimiter: “ “ Box
Uppercase Converts the source string to upper case. Source string: “A cool cat” A COOL CAT
https://www.udemy.com/user/andrewseeley/
STRING FIND - REGEX
• You can use string find with Regex to see if a string matches a pattern
• And example of this is checking if a given string is an email address
• In Automation Anywhere Enterprise it includes a RegEx option for the email
address
• In Automation Anywhere community cloud you can use the following RegEx:
• ^([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5})
https://www.udemy.com/user/andrewseeley/
LOOPS
• You can loop over a certain action any amount of times you specify
• There are two types of loops:
• Iterator - run over the loop a certain amount of times
• While - run the loop forever until a condition is meet to exit the loop
• You can also loop over the following items:
• Database tables
• Excel tables
• CSV and Text files
• Folders
• Files
https://www.udemy.com/user/andrewseeley/
DATA CONVERSION
Remember the following conversion options and how they work
• Number to String
• Some items in automation anywhere such as message box only accept a
string as an input
• String to Number
• You can only do math operations on numbers!
• Boolean to Number
• Converts True to 1
• Converts False to 0
• Boolean to String
• Converts True to “True”
• Converts False to “False”
https://www.udemy.com/user/andrewseeley/
ERROR HANDLING
If you catch an error, you can get and assign
• The exception message to a variable
• The line number the error occurred on to a variable
• This can be seen in the list view
https://www.udemy.com/user/andrewseeley/
AUTOMATION ANYWHERE CERTIFIED ADVANCED
RPA PROFESSIONAL (V11)
CHEATSHEET
BY: SEEMU AUTOMATION
RECORDER TYPES
• In Automation Anywhere Enterprise there are three recorder types
* In Automation Anywhere Community there is only the Task Bot and IQ Bot
https://www.udemy.com/user/andrewseeley/
*
WILDCARDS
• Application window titles may change so you cannot rely on them to be stable!
• You can use a wildcard * which will match zero to many characters
• E.g. *Notepad will match the following titles:
• Notepad
• Andrews Notepad
• Cool Notepad
https://www.udemy.com/user/andrewseeley/
FILE AND FOLDER ACTIONS
Action What? Example Output
File: C:\Text.txt
File: Create Create a file at the specified location
Overwrite: True
File: Copy Copys a source file to a given destination Destination File: C:\Backup.txt
Overwrite: True
Folder: C:\Temp
Folder: Create Create a folder at the specified location
Overwrite: False
https://www.udemy.com/user/andrewseeley/
EXCEL ACTIONS
Action What? Example Output
Get single cell Get the value of a single cell Cell Option: Specific cell
Sydney
Cell Name: C2
Close
will save it. Save changes: True
https://www.udemy.com/user/andrewseeley/
EXCEL SESSIONS
• To open multiple excel files you must have them assigned to a unique session
• A session is a “box” which can hold a single given excel file at and time
• You can read, write and save the excel session
• Each excel action will have the session name to indicate which one you want to select
• So remember you can have multiple excel files open at a time, it must be with sessions!
MyDetails.xlsx Invoices.xlsx
https://www.udemy.com/user/andrewseeley/
PDF ACTIONS
Action What? Example Output
Extract Text Get text from a PDF and save it to a file Page range: All pages
Content.txt
Export to text file: C:
\Content.txt
Split_1.pdf
Split_2.pdf
Split document Split a PDF into multiple files Folder Path: C:\
Split_3.pdf
Image_2.png
Extract Image Save PDF document to an image file Image Type: PNG
Image_3.png
https://www.udemy.com/user/andrewseeley/
EMAILS
• If you want to include images in an email you must use the HTML option!
• The default port is 25!
• There is an action to delete all emails
• Remember what the email actions do and what they do at a high level!
Action What?
25
Check if folder exists Check if a given folder exists and returns true/
false
Delete all Delete all email messages
https://www.udemy.com/user/andrewseeley/
DELAYS
• If you have a slow internet connection or application you can use the delay action to wait until
executing the next action!
https://www.udemy.com/user/andrewseeley/
SHORTCUTS
• Only for Automation Anywhere Enterprise!
• F2 = Insert a variable into a field
• CTRL + SHIFT + S = Stop recording
https://www.udemy.com/user/andrewseeley/