UiPath Documentation
studio
2024.10
false
Studio user guide

ST-USG-017 - Invalid parameter modifier

ST-USG-017 rule (USG category) in Studio: flags the use of out or ref parameters in the Execute() entry method of coded workflows.

Rule ID: ST-USG-017

Scope: Coded workflow

Description

When the Execute() entry method contains out or ref parameters, an error is shown.

Recommendation

Avoid declaring out and ref parameters for the Execute() entry method, such as in the following example:

public void Execute(ref string location, out string country)
public void Execute(ref string location, out string country)
  • Description
  • Recommendation

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated