Interview questions and answers for RPA - UiPath (Set 16)
UiPath Interview Questions and Answers |
Q- Where do we call the sub-workflow "SetTransactionStatus" inside RE-Framework?
Main > Process Transaction (State) > Finally Block > Invoke SetTransactionStatus workflow
Q- What needs to be done in order to implement unique reference functionality provided by Orchestrator Queue?
This is a 2-step process as given below:
Step 1 – Set "Unique Reference" to Yes while creating queue.
UiPath Unique Reference in Creating Queue |
Step 2 –Set unique value in "Reference" property of "Add Queue Item" activity
UiPath Add Queue Item Reference |
Q- What happens if we try to add the duplicate item to the unique referenced queue in UiPath?
It would throw a runtime execution error as shown in snap
UiPath Add Queue Item Duplicate Exception |
Q- Is there any way to check whether an item is already available in Orchestrator queue or not before adding it?
Using "Get Queue Items" activity, we can check it. We just need to set the filter options in the activity property such as "QueueItemStates", "FilterStrategy" and "Reference", see below snap.
UiPath Get Queue Items Reference |
Q- What are the changes we need to perform in RE-Framework in case the transaction item is not coming from Queue?
Mostly we need to change the datatype of the respective variables/arguments, removing the redundant activities and map again the arguments after changing the datatypes. Below are the changes in details:
- Change the datatype of out_TransactionItem argument inside "GetTransactionData" workflow.
- Change the datatype of TransactionItem variable inside Main workflow.
- Map/Import arguments again during calling "GetTransactionData" from "Main".
- Change the datatype of in_TransactionItem argument inside "Process" workflow.
- Map/Import arguments again during calling "Process" from "Main".
- Change the datatype of in_TransactionItem argument inside "SetTransactionStatus" workflow.
- Remove redundant activities from "SetTransactionStatus" workflow related to setting status of transaction item and retry count.
- Map/Import arguments again during calling "SetTransactionStatus" from "Main".
Note: Fresher candidates can skip REFramework and/or Orchestrator based questions.
Comments
Post a Comment