activities
latest
false
Workflow Activities
Last updated Oct 31, 2024

Analyze

Description

The Analyze activity uses a Workflow Analyzer policy to check your code against a set of rules.

This activity is used to confirm that the project about to be managed by the pipeline is correct. After the code is validated against the Workflow Analyzer rules in the policy, a summary is logged. If any errors appear, the activity throws an exception.

Note: If the project was developed using Studio and the policy is set for StudioX, or vice-versa, an error is shown.

Project compatibility

Windows | Cross-platform

Configuration

Designer panel
  • Repository path - The path to the repository where the project resides.
  • Project path - The path to the project inside the repository.
  • Policy - The Automation Ops Studio governance policy containing the Workflow Analyzer rules. If not provided, the default workflow analyzer rules apply.
    • You can use an AnalyzePolicy process argument (found in the UiPath.Pipelines.Activities package namespace) or the actual policy ID as a string. Using an AnalyzePolicy process argument, you can then select the Governance policy when setting the pipeline in Automation Ops. When testing, you can use the actual policy Id as a string and then switch to the AnalyzePolicy process argument.
    • The policy URL should have the following format: https://cloud.uipath.com/organization/tenant/governance_/policies/Development/PolicyId
Properties panel

Common

  • Continue on error - (Optional) Specifies if the automation should continue even when the activity throws an error. This field only supports Boolean values (True, False). The default value is False. As a result, if the field is blank and an error is thrown, the execution of the project stops. If the value is set to True, the execution of the project continues regardless of any error.

Output

  • Analysis result - Result of the analysis. It is of type System.Data.DataTable. The columns are Level, ErrorCode, RuleName, FilePath, Recommendation, and DocumentationLink. The column type is String. The result is always returned. It is returned even in the case of an Exception being thrown as a result of analysis failure or if the Continue on error parameter is set to True.
  • Description
  • Project compatibility
  • Configuration

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.