Courseiva
REFramework →hardMultiple Choice

UiPath-ADPv1 REFramework Practice Question

A developer is implementing a REFramework process that reads data from an Excel file using the 'Read Range' activity in the Initialization state. The data table is stored in a variable named 'dt_Input'. The developer needs to ensure that each transaction item is a DataRow from 'dt_Input'. Which approach should be used in the Get Transaction Data state to retrieve each row sequentially?

⚠ Common exam trap

The trap here is assuming that Orchestrator queue activities are required for all REFramework processes, even when the input source is a data table.

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

✓

In the Get Transaction Data state, assign TransactionItem to dt_Input.Rows(TransactionNumber-1) and increment TransactionNumber.

For data-table-driven REFramework processes, the Get Transaction Data state must retrieve the next row from the data table. The standard pattern is to assign TransactionItem to dt_Input.Rows(TransactionNumber-1) and then increment TransactionNumber. This ensures each row is processed as a separate transaction, and the framework can handle exceptions and retries appropriately. Using queue-specific activities or For Each Row would not integrate correctly with the REFramework's transaction loop.

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 to fetch a queue item from an Orchestrator queue and assign it to TransactionItem.

    Why it's wrong here

    Get Transaction Item is used for Orchestrator queues, not for data tables. Since the input is an Excel data table, this activity would not retrieve rows from dt_Input. It would require the data to be uploaded to a queue first, which is unnecessary and adds complexity. The scenario specifies reading directly from Excel, so this approach is incorrect.

  • ✗

    Use a 'For Each Row' activity in the Process state to iterate through dt_Input and set TransactionItem to each row.

    Why it's wrong here

    The REFramework already provides a transaction loop via the Get Transaction Data and Process states. Using a For Each Row in the Process state would bypass the framework's transaction management, leading to incorrect handling of exceptions and retries. It would also process all rows in one transaction, defeating the purpose of the REFramework structure.

  • ✗

    In the Get Transaction Data state, use the 'Get Row Item' activity to extract a row from dt_Input based on TransactionNumber.

    Why it's wrong here

    Get Row Item retrieves a specific column value from a DataRow, not the entire row. It returns an object representing a single cell's content. Assigning that to TransactionItem would not provide the full row needed for processing. The correct approach is to assign the DataRow itself, not a column value.

  • ✓

    In the Get Transaction Data state, assign TransactionItem to dt_Input.Rows(TransactionNumber-1) and increment TransactionNumber.

    Why this is correct

    When processing a data table, the TransactionNumber variable tracks the current row index. By assigning TransactionItem to dt_Input.Rows(TransactionNumber-1), the developer retrieves the row for the current transaction. Incrementing TransactionNumber ensures the next row is processed in the subsequent loop. This is the standard pattern for data-table-driven REFramework processes.

About these practice questions

Courseiva writes every UiPath-ADPv1 question from scratch — 276 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

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.