Robotic Enterprise Framework (ReFramework)

ReFramework is a UiPath template that you can build upon to create your automation. The framework offers a way to handle common project tasks. Here are some advantages of using ReFramework: 

  • Easily store, read, and modify configuration data
  • Handle exceptions and retry failed transactions
  • Extensive event logging for all exceptions
  • Automate complex processes using defined states

The framework is recommended for creating scalable and robust automation with UiPath. 

Here is an overview of ReFramework and its states:

ReFramework uses the concept of state machines. It has four states to build robust automations. These states are as follows:

  1. Init State: In this state, we initialize the automation. This includes the following:
    • Initializing the settings; for example, the loading of configuration data from the config file
    • Initializing the applications; for example, logging in to applications using credentials
    • Killing all working processes; for example, killing open applications
  2. Get Transaction Data State: Used to get data from spreadsheets, databases, emails, web APIs, or Orchestrator queues. It has two possible outcomes:
    • New Transaction: If TransactionItem contains data, process it.
    • No Data: If TransactionItem is Nothing, go to End Process.
  3. Process Transaction State: This where all the processing work for transactions takes place. It results in three conditions:
    • Success: In the case of a business rule exception, we log it and go to the next transaction.
    • Rule Exception: If we have a business rule exception, we log it and move to the next transaction.
    • Error: If we have an application exception, we close all programs. 
  4. End Process State: We will close all the applications and processes here. 
    • Close All Applications: This will soft close all working applications.
    • KillAllProcesses.xaml workflow: This kills all the working processes.

The complete documentation of ReFramework and its components are available at https://github.com/UiPath/ReFrameWork/blob/master/Documentation/REFramework%20documentation.pdf.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
13.58.201.75