Uipath ReFramework Architecture

sindhuja cynixit
6 min readSep 17, 2020

--

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

To get in-Depth knowledge on UIPath you can enroll for a live demo on ui path online training

We have four stages in the ReFramework architecture

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

As you can see, It has a main.xml file which 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 gets failed 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 activities and 7 transitions where each state is connected with each other with transitions.

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

Init — This is the initial state which 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 login to SAP using the credentials.

The best part of UiPath ReFramework 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 Init State and end the process.

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

Take your career to new heights of success with uipath online course

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 attaching a document in SAP example, The Bot, which has now got the Transaction Data from the Queue should now upload the attachment to SAP.

And 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 the confirmation that the document was successfully attached.

ReFramework has 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 by a Bot.

After the successful transaction, 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 if it is a failed or successful transaction.

Once you open the Uipath online studio you see the screen like this:

On the first left column, you need to click the start option, below the open and close menu. And 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:

Here comes the actual role of the uipath reFramework. Because once you create the new framework, It stores all the dependencies and work flows in the one folder, you can go and check one by one.

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

Uipath ReFramework Examples

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

You want to scrap 100 pages on a site that requires a login, then reframework 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!!
  6. Read More Info Here rpa uipath online training

Let’s see some of the most commonly use cases where Uipath Reframework is making things easier for the 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 other for a specific purpose in a large scale, then the framework can become very useful in making the process fast and errorless.

Inventory/supply chain management– As 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– In many B2C businesses customer onboarding is critical. And using this automation framework, customer onboarding actions can be completed instantaneously even in companies that rely on legacy systems, that hugely improve the customer experience.

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 built intermediary bots between the online system and the main frame that used business logic to ask the user to fix incorrect entries as well as make the loan decisions and generate confirmation letters.

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

Conclusion

You can use REFramework with very 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.

As UiPath is continually adding new features and updates to UiPath Studio and ReFramework, keep an eye out on the latest updates to excel!

--

--

No responses yet