I came across this question can any one explain whether the transaction will be retried or not
When configuring the Max # of retries for the queue in Orchestrator to “1” for your process, and the queue has 5 transaction items. At runtime, the first transaction item throws a Business Rule
Exception.
How does the process proceed?
Options:
A.
Transaction is not retried and the process stops.
B.
Transaction is not retried but remaining transactions continue processing.
C.
Transaction is retried only one time.
D.
Transaction is retried multiple times until processed successfully.
When the transaction item got business exception then it will not be retried. It will resume with the further transaction items.
If you refer the layout of REFramework, you can check the Business exception branch connected from Process state to Get Transaction State to get the new Transaction Item. If you got System exception then only it will retry based on the Retry count specified in Config file or Queues in Orchestrator.
we can simply say there is no retry mechanism for Business exception.
@manikanta_v
A Business Rule Exception indicates that the transaction item has failed due to a business logic issue and not because of a system or application error. In UiPath, Business Rule Exceptions typically do not trigger retries, as these exceptions are considered fatal errors for that particular transaction.
B. Transaction is not retried but remaining transactions continue processing.
the correct answer is B, Transaction is not retried but remaining transactions continue processing.
Items are only retried on Application/System exceptions not business. to better understand the difference between exception types you can read the below: