UiPath Advanced RPA Developer (UiARD) — Question 47
A developer is automating a process which uses data from invoice documents. The business requirement is that each transaction should be uniquely identified by the invoice number and is only uploaded to the Orchestrator queue once.
What is a recommended practice to meet this requirement?
Answer options
- A. Create a Queue with Unique Reference set to "Yes" In the process, set the Reference property of the Add Queue Item activity to the invoice number
- B. Create a Queue with the Auto Retry property set to "No" In the process, set the QueueName property of the Add Queue Item activity to the invoice number
- C. Create a Queue with Unique Reference set to "Yes" In the process, set an argument named Reference of the ItemInformation property of the Add Queue Item activity to the invoice number
- D. Create a Queue with the Auto Retry property set to "No" In the process, set an argument named TransactionId of the ItemInformation property of the Add Queue Item activity to the invoice number
Correct answer: A
Explanation
The correct answer is A because setting the Queue's Unique Reference to 'Yes' ensures that each invoice number is treated as a unique transaction, preventing duplicates. Option B does not address the uniqueness requirement, while options C and D incorrectly involve the ItemInformation property instead of the Reference property, which is essential for ensuring the transaction is recognized uniquely.