Where is the TransactionNumber incremented in the REFramework?
Where is the TransactionNumber incremented in the REFramework?
A . Only in the SetTransactionStatus.xaml workflow.
B . In the End Process state in the Finally section of the Try Catch activity.
C . In the RetryCurrentTransaction.xaml workflow and in the SetTransactionStatus.xaml workflow.
D . In the New Transaction transition.
Answer: C
Explanation:
The TransactionNumber is a variable that stores the index of the current transaction item in the REFramework. The TransactionNumber is incremented in two places in the REFramework:
In the RetryCurrentTransaction.xaml workflow, which is invoked when a system exception occurs and the retry mechanism is enabled. The workflow increments the TransactionNumber by 1 and sets the TransactionStatus to “Retry”. This allows the framework to retry the same transaction item with a new index. (UiPath ReFramework documentation2)
In the SetTransactionStatus.xaml workflow, which is invoked at the end of each transaction to update the status of the transaction item and log the result. The workflow increments the TransactionNumber by 1 and sets the TransactionStatus to “Successful”, “Failed”, or “BusinessRuleException” depending on the outcome of the transaction. This allows the framework to move on to the next transaction item with a new index. (UiPath ReFramework documentation3).
References:
1: Robotic Enterprise Framework Template – UiPath Studio.
2: RetryCurrentTransaction.xaml – UiPath ReFramework.
3: SetTransactionStatus.xaml – UiPath ReFramework.
Latest UiPath-ADAv1 Dumps Valid Version with 60 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund