Skip to main content

Robot Task Activities

A Robot Task is built by dragging activities from the activity list into the task's Sequence. Each activity performs one well defined operation, such as clicking an element, reading a file, or setting a cell value in Excel.

Activities are organized into categories in the activity list. The pages below describe every activity in each category, along with its settings.

Flow Control

CategoryPurpose
ConditionsBranch the sequence with If and Switch
LoopsRepeat activities with While, Do While, For, and For Each, and control iteration flow
Error HandlingCatch, throw, and rethrow exceptions
OtherAssign, Sequence, and Wait

UI Automation

CategoryPurpose
MouseClick, double click, move, and press mouse buttons
KeyboardSend key events and key combinations
TextType text into a window or element
ControlsInteract with UI elements through automation patterns
WindowsAttach to, show, hide, move, and resize windows
ImageCapture screenshots of screens, windows, and elements
OCRFind and read on screen text that is not exposed as a UI element

Web Automation

CategoryPurpose
Web MacroDrive a web browser: navigate, click, populate fields, extract data, download and upload files
Element PathReference for the three ways to identify an HTML element

Excel

CategoryPurpose
ExcelStart, attach to, and quit the Excel application
Excel WorkbookCreate, open, save, protect, and inspect workbooks
Excel SheetCreate, select, rename, protect, and reorder worksheets
Excel CellRead, write, copy, merge, and clear cells
Excel RowSelect, set, insert, delete, and copy rows
Excel ColumnSelect, set, insert, delete, and copy columns
Excel MacrosRun a macro in the open workbook

Data and System

CategoryPurpose
FileRead, write, copy, move, archive, and wait for files
FolderCreate, copy, empty, enumerate, and wait for folders
List VariableBuild and manipulate tabular List Variables, including rows and columns
VariablesSet the value of a Job or User variable
ClipboardSet, get, and clear the Windows clipboard
ProcessStart and close processes

RPA Result Variables

Several activities write their outcome to a Result property rather than to a Job or User variable. The value is an RPA variable that exists only for the duration of the Robot Task execution, and is referenced in later activities with:

{RPA(VariableName)}

For example, a Folder Exists activity with its Result set to Exists is read in a later If activity as {RPA(Exists)}, which resolves to True or False.

Activities that produce a Result variable are noted on each category page.

Naming Activities

Every activity has a Display name property in the Properties pane. Set it on each activity you add so the sequence reads clearly. A name such as Populate The Address Field makes a sequence far easier to maintain than a column of activities all named Populate field.