UiPath Advanced RPA Developer (UiARD) — Question 86
A developer creates a Dispatcher process which extracts information from a Microsoft Excel file and uploads that information into an Orchestrator queue. Based on best practice, what is the recommended way to avoid creating duplicate Queue Items?
Answer options
- A. Enable the Enforce unique references field of the queue Add a descriptive "Reference" in the Add Queue Item activity
- B. Add a descriptive "Reference" in the Add Queue Item activity Ensure that the "Reference" does not equal the "Reference" of the Queue Item last loaded
- C. Create an Excel file of processed Queue Items Loop through the list to check if the current Queue Item to upload has been uploaded before
- D. Disable the Enforce unique references field of the queue Enable the "Auto Retry" of the queue
Correct answer: B
Explanation
The correct answer is B because adding a unique 'Reference' for each Queue Item and ensuring it does not duplicate the last uploaded reference effectively prevents duplicates. Option A is partially correct but lacks the necessary verification step. Option C, while addressing duplicates, is less efficient than the direct approach in B. Option D contradicts best practices by disabling a feature designed to prevent duplicates.