Code Monkey home page Code Monkey logo

uipath-systemreservedentity's Introduction

SystemReserved Class - UiPath REFrameworks

C# class built to be used within UiPath REFramework.

The idea of SystemReserved was introduced in the Enhanced-REFramework by @mihhdu, where he defined a dictionary of parameters which group variables required for the framework to work correctly, like TransactionNumber, RetryNumber, etc.

This project takes the dictionary one step further by creating a custom class (SystemReserved) with the following key features and advantages:

  • It simplifies it's useage, as it would not requiere a string key which could introduce errors and also doesn't require the use of CInt to get integer values.
  • FrameworkFolders class which allows developers to access the most typicall folders used in the REF without using the path to those directories, which allows to point the folders to other directories without the need to change every place where the folders are used.
  • A dictionary that allows developers to have custom parametrs defined at runtime without the need to use another arugument and without messing with the Config dictionary.
  • It has two UiPath activities for those who want have a visual instatiation of a SystemReserved and/or a FrameworkFolders instead of just using a new sentence in an assign or the variables/arguments panel.
  • It has seven UiPath activities that handle the flow handling that needs to be done in the REF:
    • IncrementTransactionNumber,
    • IncrementRetryNumber,
    • IncrementInitRetryNumber,
    • IncrementContinuousRetryNumber,
    • ResetRetryNumber,
    • ResetInitRetryNumber,
    • ResetContinuousRetryNumber

This list has the name, type and default value of each parameter present in the SystemReserved class:

  • TransactionNumber - Int32 - Default value: 1
  • RetryNumber - Int32 - Default value: 0
  • InitRetryNumber - Int32 - Default value: 0
  • ContinuousRetryNumber - Int32 - Default value: 0
  • RobotFail - String - Default value: ""
  • isQueueItem - boolean - Default value: False
  • Folders - FrameworkFolders - NEW
    • Input - String - Default value: "Data\Input"
    • Output - String - Default value: "Data\Output"
    • Temp - String - Default value: "Data\Temp"
    • Reports - String - Default value: "Data\Reports"
    • ExScreenshots - String - Default value: "Exceptions_Screenshots"
  • CustomParameters - Dictionary<String, Object> - NEW

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.