studio
2021.10
false
UiPath logo, featuring letters U and I in white
Studio User Guide
Last updated Sep 23, 2024

ST-USG-026 - Activity Restrictions

Rule ID: ST-USG-026

Scope: Workflow

Description

The rule checks whether any restricted activities are used in the project. Restricted activities are defined by one of the following lists:

  • Prohibited Activities - Activities that are not allowed in the project. All activities that are not on this list can be used in the project.
  • Allowed Activities - Activities that are allowed in the project. Only the activities that are on this list can be used in the project.

Recommendation

Only use activities that are allowed by your organization.



Modifying the Rule

In the Project Settings window, select the Workflow Analyzer tab. Find and select the rule, and then define the restricted activities using either the prohibited activities list or the allowed activities list. When modifying the rule:

  • Add the namespaces of the activities (for example UiPath.Core.Activities.Delete) separated by comma (,).
  • You can use the asterisk (\*\) wildcard character at the beginning or at the end of each entry. For example, adding UiPath.Core.Activities* to the list of prohibited activities means that no activity with a namespace that starts with UiPath.Core.Activities is allowed.
  • Do not use the lists concurrently. If both lists are populated, the list of prohibited activities takes precedence.

Reset to Default

By default, the rule does not restrict the use of any activity. To reset the rule to default, right-click it in the Project Settings window, and then click Reset to default.



The Default action is also reset to its default value Warning.

  • Description
  • Recommendation
  • Modifying the Rule
  • Reset to Default

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.