Skip to main content

Using Rules

Process for Using Rules. There are three high-level steps for using rules. These are (1) Generating Rule Opportunities, (2) Analyzing Rules, (3) Configuring Rules. These are described below: Step1: G…

Tony Higgins
Updated by Tony Higgins

Process for Using Rules

There are three high-level steps for using rules. These are (1) Generating Rule Opportunities, (2) Analyzing Rules, (3) Configuring Rules. These are described below:

  1. Step1: Generate Rule Opportunities. Rules generation parses your imported RPA code and surfaces opportunities for each rule category. For example, every custom action Blueprint detects, or every unresolved reference found during generation. Even if you don't configure any of these rules, the lists are useful for planning and estimating a migration.
    You can generate rules from either the Rules Table or the Rules Wizard. To generate from the Rules Table:
    1. Click the Advanced dropdown in the top right, then select one of:
      1. Generate Project Rules - Generates rules for a selected folder or subfolder within your current scope.
      2. Generate Rules (Bulk) - Generates rules across multiple Blueprint projects in their entirety.
    2. In the modal that opens, configure the two additional settings at the bottom:
      1. Instance Scope - When enabled, generated rules apply to all exports across your instance. When disabled, rules are scoped to the current project only.
      2. Calltrees with Mains Only - Limits rule generation to call trees that include a Main process.
  2. Step2: Analyze Rules. Generated Rule Opportunities are disabled by default. You need to analyze and decide which ones - if any - you'd like to configure and enable for use during export.
    Rules with many occurrences are usually worth configuring, because the effort to set up the rule can be much less than fixing each occurrence by hand in PAD.
    For example, say Blueprint reports a custom action used 1,000 times. If you don't configure a rule for it, your PAD flow will have 1,000 "TODO" comments, each of which you'll need to fix manually. Configuring the rule once and applying it during export resolves all 1,000 automatically. On the other hand, if a custom action is used only once, it's faster to fix it directly in PAD than to configure a rule.
    You're able to analyze rules using the Rules Table (see description below).
  3. Step3: Configure Rules. Once you've decided which rules to use, configure each one and enable it for export. Each rule type behaves differently and requires specific information to work. See the table below for details.

User Interfaces in the Process

As described in the Introduction to Rules article the three Rules User Interfaces offer different capabilities. The table below summarizes what is possible for each step in each of the User Interfaces.

User Interface

Step: Generate Rules

Step: Analyze Rules

Step: Configure Rules

Rules Table

All aspects of rule generation can be performed from the Rules Table. This includes generating rules for any folder within a project, for an entire project, or for multiple projects (bulk).

Details on frequency of rule occurrence and specific processes and steps of the occurrences are available in the Rules Table.

The majority of Rules Configurations can be performed in the Rules Table.

Rules CSV

NA

NA

Any possible Rules Configuration can be performed using the Rules CSV.

Rules Wizard

Rule generation for the entire project is the only option in the Wizard. When initiating the Rules Wizard if the project has changed since rules were last generated Blueprint will ask if you'd like to re-generate the rules for the project.

NA

Rules configuration for only three types of Rules can be performed (Reuse, Unresolved References, Queues). Guidance is provided to help configure, and live-pickers are provided to choose flows, subflows, and queues.

Rule Types

Different rule types are used to resolve the various cases where Blueprint is unable to convert. These are summarized in the table below.

For each it is also indicated whether Blueprint is able to automatically find and list rules within the source RPA code for each rule type and RPA tool ("Auto-generated").

Rule Type

Resolve from UiPath

Resolve from Blue Prism

Resolve from A360

Custom Actions

  • Custom Actions, Project Libraries
  • Custom classes from DLL assemblies

Auto-generated: YES

  • Unmapped Actions, missing VBO actions
  • Custom classes from DLL assemblies

Auto-generated: YES

  • Unmapped Actions
  • Custom classes from DLL assemblies

Auto-generated: YES

Reuse

  • Duplicate xamls

Auto-generated: YES

  • Duplicate pages

Auto-generated: YES

  • Duplicate taskbots

Auto-generated: YES

Unresolved References

  • Missing bot files or dependencies
  • Variable/Expression references to bot files or dependencies

Auto-generated: YES

  • Missing Page references

Auto-generated: YES

  • Missing bot files or dependencies
  • Variable/Expression references to bot files or dependencies

Auto-generated: YES

Work Queues

  • Queue references

Auto-generated: YES

Queue references

Auto-generated: YES

NA

Environment Variables

NA

  • Define Flow Variable for Environment Variable and initialize it

Auto-generated: YES

NA

Initialize Variables

NA

NA

  • Initialize variables and assign values to variables before your main bot executes

Auto-generated: NO

Code Replace

  • Apply common repairs to TODOs/Errors across entire estate
  • Replace code with different code

Auto-generated: NO

  • Apply common repairs to TODOs/Errors across entire estate
  • Replace code with different code

Auto-generated: NO

  • Apply common repairs to TODOs/Errors across entire estate
  • Replace code with different code

Auto-generated: NO

How did we do?

Rule Pre-Requisites

Rules User Interfaces

Contact