UiPath Documentation
studio
latest
false
Studio user guide

ST-USG-017 - Invalid parameter modifier

ST-USG-017 Workflow Analyzer rule for coded workflows that flags out and ref parameters declared in the Execute() entry method.

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