UiPath Documentation
studio
2025.10
false
Studio user guide

ST-PMG-002 - Identify Expressions that Are Incompatible with Windows Projects

ST-PMG-002 Workflow Analyzer rule that identifies expressions valid in Windows - Legacy projects that are incompatible with Windows project compatibility.

Rule ID: ST-PMG-002

Scope: Workflow

Description

The rule checks for expressions that are incompatible with Windows projects.

Recommendation

Some expressions which are valid in Windows - Legacy projects are no longer accepted in Windows projects. For example, array initializers have to be strictly defined in Windows projects. Specifying the type of array should correct syntax errors.

Examples of expressions that are not valid in Windows projects include:

  • {}

  • {1, someVariable, new Object() {}}

  • {1, someVariable}

  • Description
  • Recommendation

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated