UiARD Exam QuestionsBrowse all questions from this exam

UiARD Exam - Question 24


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 workflow exits the Trigger Scope activity after any trigger is activated and the associated action is performed?

Show Answer
Correct Answer: D

To ensure the workflow exits the Trigger Scope activity after any trigger is activated and the associated action is performed, the correct setting to use is SchedulingMode=OneTime. This configuration ensures that once a trigger is activated and the corresponding action is executed, the Trigger Scope will exit and not wait for further triggers.

Discussion

9 comments
Sign in to comment
OnlineOption: D
Apr 3, 2023

SchedulingMode.OneTime - Execute one action and exit. https://docs.uipath.com/activities/other/latest/user-guide/trigger-scope

OnlineOption: C
Apr 3, 2023

Apologies, C is correct.

Alan194Option: D
May 11, 2023

SchedulingMode.OneTime: execute a action and exit

RigaOption: D
May 13, 2023

SchedulingMode.OneTime - Execute one action and exit.

MirjalolOption: D
Jul 17, 2023

"Which approach ensures the workflow exits the Trigger Scope activity after ANY TRIGGER is activated and the associated action is performed?" SchedulingMode.OneTime - Execute one action and exit.

robert_lovaszOption: D
Jul 26, 2023

SchedulingMode.OneTime means that if a trigger was 'detected one time' after action block executed, it'll exit the trigger scope (otherwise it was Concurrent, it would repeat the trigger again)

phileraeneOption: C
Aug 8, 2023

never use trigger (my bad) but parallel seems a good option

bhaskar5a5Option: D
Sep 6, 2023

Ans -D

ykwOption: D
Jul 5, 2024

Correct answer should be D