My UiPath 1 Flashcards
A developer decided to create a process using a STATE MACHINE.
What is the correct EXECUTION SEQUENCE of the parts in the State activity?
- Entry
- Exit
- Trigger Action
- Destination state
State machines
1. State - Entry
2. State - Transition: Trigger Action
3. State - Transition: Condition Eval
4. State - Exit
5. Destination (Entry)
Note:
Transition Condition Eval is logged after State Exit
but it’s evaluated before it
Queue items processing order
Queue
-
YES deadline:
1.1. Priority
1.2. Deadline
1.3. FIFO -
NO Deadline:
1.1. Priority
1.2. FIFO
.
(docs)
Within any given queue the transactions are processed in a hierarchical manner, according to this order:
- Items that have a Deadline, as follows:
1.1. in order of Priority;
1.2. set Deadline if same Priority. - Items with no Deadline, in order of Priority, and
2.1. First In, First Out if same Priority.
Logging levels
- Off
- Critical
- Error
- Warning
- Information
- Trace
- Verbose
Verbose: All Trace level + Workflow Tracking logs
REFramework
MaxRetryNumber
vs
Max # of retries on the queue
MaxRetryNumber
* Must be 0 if working with Orchestrator queues.
Retry count in the queue
* Only gets used if the config retry count is set to 0
* Otherwise, it uses the config setting
Queues
The Queue Item status is updated in
-
GetTransactionData.xaml
Get Transaction Item activity which retrieves the Transaction Item from the queue and sets its status to In Progress -
SetTransactionStatus.xaml
Set Transaction Status activity is used to set the status of the Transaction to either Successful or Failed
ClassicUI
Key Classic UI Activities’ properties
-
ContinueOnError | (bool) Default: false
Specifies if the automation should continue even when the activity throws an error.
If the value is set to True, the execution of the project continues regardless of any error.
Note: activity in Try Catch and ContinueOnError = True: no error is caught when the project is executed. -
DelayAfter | (int) Default: 300 milliseconds
Delay time (in milliseconds) after executing the activity. -
DelayBefore | (int) Default: 200 milliseconds
Delay time (in milliseconds) before the activity begins performing any operations.
ClassicUI Sync Activities
RetryScope usage and properties
Retries the contained activities as long as the condition is not met or an error is thrown.
-
NumberOfRetries | (int) DEFAULT = 3
The number of times that the sequence is to be retried. -
RetryInterval | (int) DEFAULT = 5000 ms
Specifies the amount of time (in seconds) between each retry.
Two levels:
-
Action blocks
Place the activity to be retried. -
Condition blocks.
Place an activity that returns a Boolean value to determine if it should be retried
(EX: Element Exists , Image Exists , Text Exists, Check True, Check False)
Note:
If this activity is included in Try Catch and ContinueOnError =True, no error is caught when the project is executed.
Selectors
Full Selectors
vs
Partial Selectors
Full selectors:
- Contain all the elements needed to identify a UI element, including the top-level window
- Generated by the Basic recorder
- Recommended when switching between multiple windows
Partial selectors:
- Generated by the Desktop recorder
- NO INFO about the top-level window
- Activities containing partial selectors are enclosed in a container that contains a full selector of the top-level window:
Attach Browser, Attach Window, (Get Active Window?) - Recommended when performing multiple actions in the same window
Extract data/text from PDF
- Extract all text data from PDF files
* Read PDF Text (PDF)
Reads all characters from a specified PDF file and stores them in a string variable.
* Get Full Text (Ui Auto | Scraping)
Extracts a string and its information from an indicated UI element using the FullText screen scraping method.
* Read PDF With OCR (PDF)
Reads all characters from a specified PDF file and stores it in a string variable by using OCR technology. -
Partial text data extraction from PDF files
* Get Text (Ui Auto)
Extracts a text value from a specified UI element.* **Get Visible Text** *(Ui Auto | Scraping)* Extracts a string and its information from an indicated UI element using the Native screen scraping method. * **Anchor Base** *(Ui Auto)* A container that searches for a UI element by using other UI elements as anchors. * **CV Get Text** *(Computer Vision)* Extracts the text from a specified UI element.
UIAuto
Input Capability Methods
Compatibility
- 100% | Hardware Events
- 80% | SendWindowMessages
- 99% WA / 60% DA | Simulate Type/Click
- 100% | ChromiumAPI (only Chrome/Edge)
WA = Web app, DA = Desktop app
UIAuto
Input Capability Methods
Speed
- 50% | Hardware Events
- 50% | SendWindowMessages
- 100% | Simulate Type/Click
- 50% | ChromiumAPI
Recommended: Simulate Type/Click (fastest and bg work)
Input Capability Methods
HotKey Support
- YES | Hardware Events
- YES | SendWindowMessages
- NO | Simulate Type/Click
- YES | ChromiumAPI
Input Capability Methods
Background Execution
- NO | Hardware Events
- YES | SendWindowMessages
- YES | Simulate Type/Click
- YES | ChromiumAPI
Input Capability Methods
Auto Empty Field
- NO | Hardware Events
- NO | SendWindowMessages
- YES | Simulate Type/Click
- YES | ChromiumAPI
Input Capability Methods
Design Experience
- CLA / MOD | Hardware Events
- CLA / MOD | SendWindowMessages
- CLA / MOD | Simulate Type/Click
- CLA | ChromiumAPI
CLA = Classic, MOD = Modern