studio
latest
false
UiPath logo, featuring letters U and I in white

Studio user guide

Last updated Mar 4, 2026

ST-USG-017 - Invalid parameter modifier

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