Home > Latest Updates > A complete Guide to Uipath ReFramework

A complete Guide to Uipath ReFramework

Complete Guide To Uipath ReFrameworkac

An introduction to Uipath

UiPath is a global Robotic Process Automation vendor that provides a complete software platform to help organizations efficiently automate business processes. With the acquisition of both ProcessGold and Stepshot in 2019, it has become the first vendor to bring process mining & robotic process automation together.

2,750+ enterprise customers and government agencies use UiPath’s Enterprise RPA platform to successfully deploy software robots that perfectly follow and execute repetitive processes. 

Businesses are accelerating their productivity and enhancing customer experience across front-office and back-office operations through its complete software platform.

UiPath Studio and Orchestrator  

UiPath is a platform that comprises a Studio and an Orchestrator. A studio is a tool where developers can design and develop RPA processes for the Orchestrator or publish a reusable library. 

An Orchestrator is a web application that enables developers to arrange UiPath Robots to execute repetitive business processes. You can understand it as a centralized robot management dashboard that helps in managing machines and robots along with a ton of additional features. Like Queues for enabling multiple robots to work on the same problem, scheduling jobs and assets to store config data, and for securely storing credentials.

What is Uipath ReFramework/Robotic Enterprise Framework?

What is Uipath ReFramework

Uipath reframework also referred to as robotic enterprise framework is a framework that is built to help developers in building quick and efficient RPA processes. 

It is the UiPath’s Template that has a well-written structure that is used for building a robust large-scale solution that works based on Queue Transactions.

This Uipath framework is generally built on state machines. That you can use as a starting point for all of your UI projects.

Meanwhile, you may find our 5-Step guide to successfully implementing RPA in 2023 helpful.

Why to use ReFramework in Uipath

ReFramework makes a developer’s tasks much easier. It works as a template and provides all the basic details that you as a developer may need for any process automation.

The template lets you read and store the config data, open the required application and close all the unnecessary applications, get the transaction and process it, and when required it allows you to retry the transaction.

Along with that, it logs the status of all processed, failed & successful transactions. 

Hence to build a robust and fast process use ReFramework in Uipath. That also facilitates these super cool features.

Do you also want to get your project done on UiPath’s Enterprise platform?

Let’s Talk!

Uipath ReFramework Features:

It works for any type of processes and business. As the logic code is separated from other aspects of ReFramework it can be reused efficiently.
ReFramework has the ability to retry a failed transaction multiple times and send exception notifications.
Effective logging
Effective logging
It provides an effective logging mechanism to monitor the process and error handling.
Error Screenshot
Error screenshots: ReFramework has the functionality to take a screenshot of the screen at the point where it gets failed, that let you know the unattended automations and overall troubleshooting.

Exception Handling
Exception Handling
ReFramework makes exception handling a piece of cake. It has functionality to take actions when an exception comes. That let you not worry about process halt or anything else. 

The variables, assets and settings are consistent across ReFramework that makes it easy to understand. Also the code standards allow an easy handover to a different developer.

How ReFramework works in Uipath

If you have ever worked at Uipath studio then you might know it has 3 types of data flow representations: sequence, flowchart, and state machine.

Though ReFramework contains all the 3 data flows, the main structure of the program is built using a state machine as it provides a more clean and functional data flow representation.

So, before knowing how the Reframework works in the Uipath, let’s have a look at its architecture.

Re-Framework Architecture

ReFramework Architecture
Source: connect.uipath.com

We have four stages in the Re-framework architecture:

  1. Init
  2. Get Transaction
  3. Process Transaction 
  4. End Transaction

As you can see, It has a main.xml file that uses the state machine workflow and each stage is connected with each other for the work processes. 

Since the system can only be in one state at a time, at least one transition condition from a given state must be true for it to move to another state. If it fails in any of these states, ReFramework is built in a way to either retry it or end the process and send an exception log with the respective reason.

Overall, ReFramework architecture comprises 3 state activities, 1 final state activity, and 7 transitions where each state is connected with each other with transitions.

Now, let’s understand each stage of the framework in a better way:


This is the initial state that is used to read and store the config data in the dictionary, close all the unnecessary applications, and open the required one. For example, if in the Process we need to upload an attachment in SAP, we first require the Bot to fetch the credentials from Orchestrator, open the SAP application, and then log in to SAP using the credentials. 

The best part of UiPath Re-framework is that it is built in such a way that you can initialize all the applications necessary. Here in the Init state and if the conditions you have built are met, the Bot will then move forward with processing the transaction.
If there is an error while initializing the applications or the credentials provided are invalid, an exception notification will be sent from within the Init State and end the process.

Get Transaction

It is the data retrieval state, which is used to get the transaction from the queue, data table, folder, database, and other sources. Yes, once the Bot successfully initializes all the applications it requires for a process. Hence, it looks for any transaction items in the Orchestrator Queue to process. 

ReFramework prebuilt functionality looks for a Stop Request and will stop the process even though there are items still in the Queue to process. This becomes helpful in situations where you notice the Bot is not doing what it is expected to do and want to stop the process before it works on any other transaction items.

Process Transaction

In this state, the transactions are processed that are fetched from the previous state. And if there is no record to process, the robot automatically moves to the end process state. If we look again at our attached document in the SAP example, The Bot, which has now got the Transaction Data from the Queue should now upload the attachment to SAP. 
In Process State, all the activities required to attach the document will be invoked. For example, a workflow to check, if the document exists or not on the Shared Path, a workflow with activities like clicking on appropriate GUI Elements for the Bot to navigate through SAP, type in the file path, and look for confirmation that the document was successfully attached.
ReFramework has a prebuilt SetTransactionStatus workflow that can be used to set the Transaction Status of an item to either Success, Business Exception, or Application Exception. And among them, Business Exceptions are prebuilt exceptions that are built into the script and looked at by a Bot. 
After the successful transaction, the bot will now move forward with the next item in the Queue.

End Transaction

This is the final state of ReFramework that ends the robot successfully and closes all the applications. After the Bot has finished processing all the transaction items from the Queue, it will log out of applications,  irrespective of whether it is a failed or successful transaction.
Once you open the Uipath studio you see the screen like this:

ReFramework start screen

On the first left column, you need to click the start option, below the open and close menu. There you need to select the ‘Robotic Enterprise Framework’ from the ‘New From Template’ options for the base practice on a large-scale deployment.

Once you click on it, the ‘New robotic Enterprise framework’ wizard will open up. Fill up the name, location, and description as per the project and click on the create button. Now you will encounter this screen:

New robotic Enterprise framework
The home screen of ReFramework

Here comes the actual role of the ui-path re-framework. Once you create the new framework, It stores all the dependencies and workflows in one folder, you can go and check them one by one.

To initialize the process you will see a screen similar to this:

actual role of the ui-path re-framework
Initialize the process

Let’s check out how our RPA Services can benefit your business.


Uipath ReFramework Examples

Uipath ReFramework Examples

Uipath ReFramework has become the best choice for several cases. For example:

If you want to scrap 100 pages on a site that requires a login, then re-framework will ease the process in unmatchable speed. All you need to do is

  1. Include the credentials required for the site in your Config file
  2. Store the URL of your site in the config file (as it is easier to change once in Excel than a lot of times in the workflows)
  3. Now you can control the number of pages that need to be scraped
  4. Also can retry the scraping on pages that failed.
  5. That’s it!!

Let’s see some of the most commonly used cases where Uipath Reframework is making things easier for enterprises:

Web Scrapping

Whenever you need to scrap data from various locations and want to feed them in a particular Excel sheet. Like in the case of comparison sites, stock markets, e-commerce, and others for a specific purpose on a large scale, the framework can become very useful in making the process fast and errorless.

Inventory/supply chain management

Retailers rely on legacy systems for stock-keeping. The Framework bots can perform constant checks on the systems providing data on key metrics like items with low stock levels or the one changing rapidly.

Customer/User onboarding

Customer onboarding is crucial for B2C businesses. Automate the process with this framework to enhance customer experience, even in legacy systems.

Generating mass emails

Mass emails relying on data from multiple systems are laborious to produce manually. Hence for enterprises who need to send them frequently, this automation framework is easing the process.

Validating and processing online loan applications

You can use this framework to build intermediary bots between the online system and the main frame that uses business logic to ask the user to fix incorrect entries as well as make loan decisions and generate confirmation letters.

These are just to name a few, their implementations can be seen on a large scale in manufacturing, healthcare industries, banking, E-commerce, and many other industries.


You can use ReFramework with ease if you have a good understanding of the “Invoke Workflow Activity” and some grip on managing data between the State Machine. Must say, REFramework is so user-friendly that it has everything in-built and it provides robust Robots.

Stay up-to-date with the latest Excel updates as UiPath continuously enhances UiPath Studio and ReFramework.

Frequently Asked Questions

Q. How can I learn UiPath ReFramework?

A. Learning UiPath ReFramework is easy. All you need to do is just start with the basics.

  • Learn about the ReFramework workflow activity, and template and go through all the parts.
  • Enroll in the Uipath Advanced certification course to clear your doubts and gain confidence through hands-on projects.
  • Have some concepts of orchestrator 
  • Note your doubts and clear them one by one.
  • Keep patience and practice, you will soon find yourself doing live projects
  • All the best!!

Q. What is the role of an Orchestrator in Uipath?

A. UiPath Orchestrator is a centralized platform for deploying, securing, and managing UiPath Robots at scale. It runs on a server and connects to all the Robots within the network, whether Attended, Unattended, or Free. It ensures the correct delivery of the packages to Robots.  

Q. What is ReFramework in Uipath?

A. ReFamework or Robotic Enterprise Framework is a template within UiPath Studio built using State Machine layout.

Q. What are the types of projects in UiPath?

A. There are two types of standalone automation projects in Uipath Studio: process or library. Processes can incorporate all types of workflows, flowcharts, sequences, state machines, and global exception handlers.

Q. Can UiPath be used for testing?

A. Yes, Uipath can be used for running unit tests and will help ease the development and save time.

Hashstudioz have worked for industries like banking, healthcare, retail & manufacturing. While helping them automate their processes we made sure to provide the utmost efficiency & flexibility.

And if you want your business to process fast and let your human resource focus on other important tasks, then you must check our RPA Services or contact us to discuss your requirements.

Yatin Sapra
Yatin is a highly skilled digital transformation consultant and a passionate tech blogger. With a deep understanding of both the strategic and technical aspects of digital transformation, Yatin empowers businesses to navigate the digital landscape with confidence and drive meaningful change.