- 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
- Workflow Analyzer
- About Workflow Analyzer
- ST-NMG-001 - Variables Naming Convention
- ST-NMG-002 - Arguments Naming Convention
- ST-NMG-004 - Display Name Duplication
- ST-NMG-005 - Variable Overrides Variable
- ST-NMG-006 - Variable Overrides Argument
- ST-NMG-008 - Variable Length Exceeded
- ST-NMG-009 - Prefix Datatable Variables
- ST-NMG-011 - Prefix Datatable Arguments
- ST-NMG-012 - Argument Default Values
- ST-NMG-016 - Argument Length Exceeded
- ST-DBP-002 - High Arguments Count
- ST-DBP-003 - Empty Catch Block
- ST-DBP-007 - Multiple Flowchart Layers
- ST-DBP-020 - Undefined Output Properties
- ST-DBP-023 - Empty Workflow
- ST-DBP-024 - Persistence Activity Check
- ST-DBP-025 - Variables Serialization Prerequisite
- ST-DBP-026 - Delay Activity Usage
- ST-DBP-027 - Persistence Best Practice
- ST-DBP-028 - Arguments Serialization Prerequisite
- Variables
- Arguments
- Managing Arguments
- The Arguments Panel
- Using Arguments
- Imported Namespaces
- Recording
- UI Elements
- Control Flow
- Selectors
- Object Repository
- Data Scraping
- Image and Text Automation
- Automating Citrix Technologies
- RDP Automation
- SAP Automation
- VMware Horizon Automation
- Logging
- The ScaleCoordinates Migration Tool
- The ScreenScrapeJavaSupport Tool
- The WebDriver Protocol
- StudioPro
- Extensions
- Troubleshooting
The Arguments Panel
The Arguments panel enables you to create arguments and make changes to them. Renaming an argument in this panel automatically updates all occurrences in the current file.
The following table describes the properties available for arguments.
Field |
Description |
---|---|
Name |
Mandatory. The name of your argument. If you do not add a name to an argument, one is automatically generated. For more information on how to name your arguments, see Naming Best Practices. |
Direction |
Mandatory. Select a direction for your argument. The following options are available:
|
Argument Type |
Mandatory. Choose the value type you want your argument to store. The following options are available:
If you select a .Net type from the Browse and Select a .Net Type window, it is added to the Argument Type drop-down list. |
Default Value |
Optional. The default value of the argument. If this field is empty, the variable does not have a default value. Please note that default values for arguments must be provided in English, regardless of the Studio interface language. |
IsRequired |
If selected, marks the argument as mandatory. Note: This property is available in the Properties panel.
|
Right-click on an argument in the Arguments panel to open the context menu.
Option |
Description |
---|---|
Convert to Variable |
Converts the argument into a variable of the same type as the former argument and with the top level scope. Multiple selection is available. If a variable with the same name exists, an error message is logged in the Output panel and the variable is not created. |
Copy |
Copies one or more arguments, their names, types, and default values to another workflow. If an argument with the same name exists, an error message is displayed in the Output panel. |
Paste |
Pastes one or more arguments, their names, types, and default values to another workflow. The argument’s scope must be reassigned. If the argument’s type isn’t found in the workflow, the option is disabled. |
Delete |
Removes the argument from the panel, but not from the workflow. |
Add Annotation |
Opens the Add Annotation window for adding comments to an argument. |
Edit Annotation |
Opens the Add Annotation window for editing comments. |
Delete Annotation |
Deletes annotations previously set for an argument. |
Add Watch |
Adds the current argument to the Watch panel. This is available only during debugging. |
Find References |
Find all references to the argument in the project. The results are displayed in the Find References panel. |