Question 120
At fictional Elmwood Healthcare Logistics, an automation delivery team is conducting an approved automation readiness review using only fictitious records and authorized non-production endpoints. The independently authored UiPath Automation Developer Associate case states: A fictional order process stores an invoice total in a globally scoped mutable variable, and a reusable child workflow unexpectedly overwrites it. Assume these documented facts only; validate product-version support, obtain change approval, and use synthetic data in tests. Which ongoing engineering control would most directly prevent this condition from recurring?
Explanation
Writer-proposed answer: D (UNVERIFIED)
Preliminary individual option explanations — NOT expert validated
Correct Answer
Run scope and argument reviews on reusable workflow components and include conflicting-value test cases. Variables carry data within a scope; workflow arguments define clearer contracts between reusable components.
Incorrect Answers
This response concerns Studio Web versus desktop capability, which is different from the stated failure. A fictional order process stores an invoice total in a globally scoped mutable variable, and a reusable child workflow unexpectedly overwrites it.
Project compatibility selection is insufficient to demonstrate this result: Tests show the parent invoice total stays unchanged after unrelated child workflow execution and the intended output is passed explicitly.
In Out and In Out argument direction is not the cause of the reported failure: A fictional order process stores an invoice total in a globally scoped mutable variable, and a reusable child workflow unexpectedly overwrites it.