While automating any business process, leveraging the Robotic Enterprise framework commonly known as Re-Framework in UiPath is a valuable approach. The Re-Framework has standardized and structured templates designed to help developers build RPA workflows and easily tackle complex business scenarios for larger deployments. The robust nature with quickly scalable architecture makes it easy for developers to leverage best practices and fulfil the basic needs of automation, like reading config files & data, initializing needed applications, get transactions for processing, logging status, handle exceptions and simultaneously re-trying failed transactions without human intervention.  

Now, let’s look at the various stages of the framework and their purpose in the framework –  

Initialization – The 1st stage and integral stage of RE framework which can be used to make required applications ready. By reading, storing the config data in the directory, opening necessary applications and closing unnecessary files and applications, we make the workflow ready for the next stage. In this stage we can also generate exception alerts, stop the process or move the workflow to the next stage.   

Get Transaction data – It is used to extract and fetch data from Database, Queue, Data Table, Folder and take it to the next stage. There are 2 alternatives to this as below –  

Process transaction – In this stage, the workflow will perform the actual processing for the retrieved data. There could be three outcomes of processing –   

For the 1st outcome, the flow will again move to Get Transaction Data stage to retrieve the next item for processing.  

For the 2nd outcome, the flow will not process the transaction, mark it as not processed, close all applications for this transaction data item and loop back to the Initialization stage.  

In case of the 3rd outcome, the business exception, the transaction is marked and skipped, and the workflow will retrieve the next transaction data from Get Transaction Data stage.   

End state process – This is the final stage of the framework. Once the entire data is processed successfully, then Robot goes to the End state process and closes all the applications and ends the process.  

Diagram easy understanding– attached in PPT –   

It is recommended that every project has “Main .Xaml file” which uses the State machine workflow. This can provide a better presentation of the process flow and make the flow easy to understand and visually more appealing.  

The Framework is best suited for the below types of processes-  

Benefits of using this framework –  

The framework includes pre-built reusable workflows that can be used in any of your automation, e.g., for taking screenshots after every system error, for setting every transaction status, logging into applications whenever required, etc.  

As there’s workflow to maintain transaction status and logging at every stage, we can use this data for efficient analysis for each process.  

Use Cases where we can reuse the RE framework to automate –  

  1. Onboarding / setting up new customers or users  
  1. Validating and processing Invoices  
  1. Tracking and generating reports for network issues. 

The customization in the Re-Framework allows you to adapt to different automation scenarios while still benefiting from its standardized structure and error-handling capabilities.