studio
2023.4
false
- Release Notes
- Getting Started
- Setup and Configuration
- Automation Projects
- Dependencies
- Types of Workflows
- File Comparison
- Automation Best Practices
- Source Control Integration
- Debugging
- The Diagnostic Tool
- Variables
- Arguments
- Imported Namespaces
- Trigger-based Attended Automation
- Recording
- UI Elements
- Control Flow
- Selectors
- Object Repository
- Data Scraping
- Image and Text Automation
- Automating Citrix Technologies
- RDP Automation
- Salesforce Automation
- SAP Automation
- VMware Horizon Automation
- Logging
- The ScreenScrapeJavaSupport Tool
- The WebDriver Protocol
- Test Suite - Studio
- Extensions
- Troubleshooting
- About troubleshooting
- Microsoft App-V support and limitations
- Internet Explorer X64 troubleshooting
- Microsoft Office issues
- Identifying UI elements in PDF with Accessibility options
- Repairing Active Accessibility support
- Automating Applications Running Under a Different Windows User
- Validation of large Windows-legacy projects takes longer than expected
ST-USG-005 - Hardcoded Activity Arguments
Studio User Guide
Last updated Oct 2, 2024
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: State Machine, and State.
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.
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.
- To scan all activities, clear the list, and then add only the asterisk
*
wildcard character.