UiPath Advanced RPA Developer (UiARD) — Question 64
A developer uses a Key Press Trigger activity and a Click Trigger activity to monitor events in an application. The two Trigger activities are within the same Trigger Scope activity. Which approach ensures the actions are executed one after another?
Answer options
- A. Set "SchedulingMode=Sequential" in the Trigger Scope activity properties
- B. Set the Trigger Scope activity within a Retry Scope
- C. Set "SchedulingMode=OneTime" in the Trigger Scope activity properties
- D. Set "BlockEvent=False" in the properties for the two Trigger activities
Correct answer: A
Explanation
The correct answer is A because setting 'SchedulingMode=Sequential' ensures that the Trigger activities are executed one after the other within the Trigger Scope. Option B would not guarantee sequential execution, as a Retry Scope is meant for handling retries rather than sequencing. Option C sets the Trigger Scope to execute only once, which does not address the need for sequential execution. Option D does not affect the order of execution between the Trigger activities.