UiPath Studio

The UiPath Studio Guide

ST-USG-005 - Hardcoded Activity Arguments

Rule ID: ST-USG-005

Scope: Activity


The rule checks whether activity properties received hardcoded values. By default, it checks the following activities: Assign, Log Message, Invoke Workflow File**.


Avoid using hardcoded values for activity properties. Use default activity property values, variables and/or arguments as much as possible for keeping your process robust and dynamic.

Modifying the Rule

In the Project Settings window, select the Workflow Analyzer tab. Find the rule and select the rule, as in the image below:


To add more activities to the default list, add activity namespaces separated by a comma.

Reset to Default

By default, it checks the following activities: System.Activities.Statements.Assign,UiPath.Core.Activities.LogMessage,UiPath.Core.Activities.InvokeWorkflowFile.

To reset the value to default right-click the rule in the Project Settings window, and then click Reset to default.


Updated 3 years ago

ST-USG-005 - Hardcoded Activity Arguments

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.