UiPath-ADPv1 Resource Management Practice Question
A developer is building a UiPath automation that must process invoices. The process uses a REFramework and needs to guarantee that each invoice is processed exactly once, even if the robot crashes mid-transaction. The invoices are stored in an Orchestrator Queue named 'Invoices'. What is the correct approach to retrieve and process queue items?
⚠ Common exam trap
The trap here is assuming that Get Queue Items can be used for transactional processing, but it only reads items without locking them, leading to duplicate processing.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Use the 'Get Transaction Item' activity to retrieve a single item with Status 'New', process it, then set its status to 'Successful' using 'Set Transaction Status'.
The correct approach uses Get Transaction Item to atomically retrieve and lock a New queue item, then Set Transaction Status to mark it Successful after processing. This ensures that each item is processed once, and if a crash occurs, the item remains In Progress and can be retried. Other options either fail to lock items, use incorrect activities, or delete items instead of updating status.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Use the 'Get Transaction Item' activity with the 'Reference' property set to the invoice number, process the item, and then use the 'Update Queue Item' activity to change its status to 'Successful'.
Why it's wrong here
Get Transaction Item does not support filtering by Reference; it retrieves the next New item. Update Queue Item is not a standard UiPath activity for changing transaction status; the correct activity is Set Transaction Status. This approach would not reliably retrieve the intended invoice and would fail to update status correctly.
- ✗
Use the 'Add Queue Item' activity to add each invoice to the queue, then use 'Get Transaction Item' to process them, and finally delete the queue items after processing.
Why it's wrong here
Adding items is not the retrieval step; the scenario already has invoices in the queue. Deleting items after processing removes audit history and does not mark them as Successful. Deleting queue items is not standard practice and would break reporting and retry logic. The correct approach is to set transaction status rather than delete.
- ✗
Use the 'Get Queue Items' activity to fetch all items with Status 'New', loop through them, and update each item's status to 'Successful' after processing.
Why it's wrong here
Get Queue Items only reads items without changing their status; items remain New and can be picked up by other robots, leading to duplicate processing. Also, the activity returns a collection but does not lock items, so concurrency issues arise. This approach does not provide the transactional integrity required for exactly-once processing.
- ✓
Use the 'Get Transaction Item' activity to retrieve a single item with Status 'New', process it, then set its status to 'Successful' using 'Set Transaction Status'.
Why this is correct
Get Transaction Item retrieves a New item and changes its status to In Progress, preventing other robots from picking it up. After successful processing, Set Transaction Status marks it Successful. If the robot crashes, the item remains In Progress and can be retried based on queue settings, ensuring exactly-once semantics under normal conditions.
About these practice questions
One of 276 original UiPath-ADPv1 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed September 2026 · checked against the official UiPath exam blueprint
This UiPath-ADPv1 practice question is part of Courseiva's free UiPath certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the UiPath-ADPv1 exam.