I’m preparing for UiPath technical interviews and I’m trying to understand the standard REFramework in a deeper way.
I understand the basic purpose of the four states:
Init
Get Transaction Data
Process Transaction
End Process
But I’m still confused about the actual execution flow and retry behavior.
Could someone explain:
What exactly happens in each state?
When does REFramework retry?
What happens if a System Exception occurs in:
Init
Get Transaction Data
Process Transaction
What happens if a Business Exception occurs?
When does it move to the next transaction, and when does it stop the process?
If possible, I’d really appreciate a real-time project example (for example, invoice processing, SAP automation, bank reconciliation, etc.) that explains how REFramework behaves at each stage. I find real project scenarios much easier to understand and remember during interviews than theoretical explanations.
I know I can ask ChatGPT or other AI tools, but I’d really like to learn from experienced UiPath developers who have worked with REFramework in production. Practical explanations and lessons learned from real projects would help me a lot.
Init reads the configuration, retrieves assets and credentials, and initializes the required applications.
Get Transaction Data retrieves the next transaction item that needs to be processed.
Process Transaction executes the business logic for the current transaction item.
End Process closes applications and performs the required cleanup activities.
REFramework retries only when a System Exception occurs and the configured retry limit has not been reached.
If a System Exception occurs in Init, REFramework retries the initialization process and ends the workflow if all retries are exhausted.
If a System Exception occurs in Get Transaction Data, REFramework executes recovery logic and retries according to the framework settings.
If a System Exception occurs in Process Transaction, REFramework reinitializes the applications and retries the current transaction.
If a Business Rule Exception occurs, REFramework marks the transaction as Business Failed and does not retry it.
REFramework moves to the next transaction after a successful transaction, a Business Rule Exception, or after all retries for the current transaction are exhausted.
REFramework stops when no more transactions are available or when initialization fails after all configured retries.
If helpful, mark as solution. Happy automation with UiPath
Hi Ashok, just wanted to thank you. I followed your suggestion and completed the Introduction to REFramework course on UiPath Academy. It really improved my understanding of the framework, and I was able to answer most of the assessment questions based on understanding rather than guessing. Thanks a lot for pointing me in the right direction. Really appreciate it!