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

Studio User Guide

Last updated Mar 24, 2025

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:
 [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]public void Execute(ref string location, out string country)

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
© 2005-2025 UiPath. All rights reserved.