MarketplaceStudioSnippetCheck All Settings

Create your first automation in just a few minutes.Try Studio Web

Check All Settings

Check All Settings

by Siyang Wu

StarStarStarStarStarStarStarStarStarStar

0

Snippet

Downloads

<100

back button
back button
carouselImage0
next button
next button

Summary

Summary

This workflow can be used to check all items in the ReFrameWork config valuable

Overview

Overview

The default ReFrameWork includes InitAllSettings process and Config file.

InitAllSettings can import key and value from "Settings", "Constants" and "Assets" of the sheet in the config file, and all of them are kept in a Dictionary object.

Most of the times, those configs need to be checked one by one before continuing process.

Add in Config File a "Checkings" sheet that has three types of configurable checks and returns message columns.

Develop a new CheckAllSettings process that can be used to check all of the items in config dictionary.

It can be used for future UiPath projects.

CheckAllSettings process can be used after InitAllSettings, and also can be used in ReFrameWork readily.

CheckAllSettings should be inserted after InitAllSettings and all of the process with edit config object.

Import arguments and make it work.

It has three input arguments, the same as InitAllSettings and two output arguments for returning the check result and message if necessary.

Add in config file a "Checkings" sheet that has three types of configurable checks and returns message columns.

  • Key: Check if the dictionary key exist.
  • Type: Type check of value, involves a null check.
  • Match: The regex used to format check of the string value, check with ToString.
  • Message: a string of message for return, optionally use format items for replacing the value of key, type and match.
  • Description: Description of this check item.

For one key there can be set more than one check items, thus returns a different message when a different check item did not pass.

If the latter check item takes effect, the former check item must be set, or else it will be ignored.

Features

Features

Check all of the items in ReFrameWork config dictionary without coding.

Additional Information

Additional Information

Dependencies

No dependencies

Code Language

Visual Basic

Publisher

Siyang Wu

Visit publisher's page

License & Privacy

MIT

Privacy Terms

Technical

Version

1.0.1

Updated

February 18, 2020

Works with

Studio: 19.7 - 22.10

Certification

Silver Certified

Support

UiPath Community Support

Similar Listings