Configure and assign code analysis policy - As an administrator or a user with view and manage policy permissions, you can configure multiple named policies to define coding best practices to improve the reliability of automations by reducing errors.
As an administrator or a user with view and manage policy permissions,
you can configure multiple named policies to define coding best practices to improve the
reliability of automations by reducing errors.
Before you begin
Ensure that you have the following permissions:
View policies
Manage policies
These permissions allow you to view, edit, and assign policies that define
how developers can build automations. They also allow the assignment of policies to
folders for which you have access.
Procedure
Create policies in the Policies tab.
In the Control Room, navigate to Administration > Policies.
Select the Policies tab.
Select the Create policy icon at the top of the
policies table.
Enter a meaningful name for the policy.
Optional: Enter a descriptive comment for the policy.
Select the rules for your automation files (Task Bot and API Tasks). In the Rules
section, use the on and off slider in the rule tiles to turn on and configure
one or more rules for your respective automation files.
Select the Severity as either
Low or High to
highlight the criticality of the rule.
Click Save changes to create the policy.
A notification appears indicating the policy details are
successfully saved.
See the following video to learn how to create named policies:
Assign a policy to multiple folders in the Assign
tab.
In the Control Room, navigate to Administration > Policies.
Select the Assign tab.
Select one or more folders.
Select the Assign policy for checked items icon
at the top right of the folders table.
A policy selector window appears indicating the selected folder
name or the number of selected folders.
In the policy selector window, search for a policy using the search
tool at the top.
Note: Each policy has a summary of the number of rules.
Select the policy to assign to the selected folders.
Click Assign to assign the policy to the
selected folders.
See the following video to learn how to assign named policies: