A developer was reviewing an Orchestration process whose "main" attribute is set to Main.xaml in project.json. However, the process is not pausing as intended. What is a possible cause for this issue?
A.
UI activities were not used in the process.
B.
"Wait for Form Task and Resume" activity was called in Main.xaml.
C.
Process created a task in the Orchestrator.
D.
"Wait for Form Task and Resume" activity was called in GetApproval.xaml.
The answer is C. Process created a task in the Orchestrator. In an Orchestration process, if a task is created in Orchestrator using the “Create Form Task” activity but the “Wait for Form Task and Resume” activity is not used, the process will not pause as intended. The “Wait for Form Task and Resume” activity is necessary to pause the process until the task in Orchestrator is completed.
It is B -> "Suspends the execution of the current workflow until a specified Action is completed".
https://docs.uipath.com/activities/other/latest/workflow/wait-for-form-task-and-resume
The "Wait for Form Task and Resume" activity is specifically designed to pause the execution of the process until a form task is completed or resumed. If this activity is called in the GetApproval.xaml workflow instead of the Main.xaml workflow, it would not have the intended effect of pausing the entire process.
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Nrhn
1 year, 2 months agoMirjalol
1 year, 4 months agoTharaka
1 year, 5 months agoEngineer24
1 year, 7 months ago