uip rpa analyze
uip rpa analyze runs the UiPath workflow analyzer against a Studio project, reporting rule violations against a governance policy. It is the modern replacement for uipcli package analyze from the legacy .NET CLI — see Migration — package analyze for the full flag-to-flag map.
warning
Runtime requirements
- .NET runtime must be available on the runner — the workflow analyzer is .NET-backed. See Breaking changes — .NET runtime.
- Windows runner for Windows projects. Cross-platform projects (
targetFramework: "Portable") analyze on any OS. Windows projects (targetFramework: "Windows") require a Windows runner. See uip rpa overview for the full project-flavor matrix.
Synopsis
uip rpa analyze <project> --governance-file-path <policy> [options]
<project>— path to the Studio project (a directory containingproject.json).--governance-file-path <policy>— path to the governance JSON file that enumerates the workflow-analyzer rules and severities to apply.
For the complete option list on your installed tool version, run:
uip rpa analyze --help
The flag set mirrors legacy uipcli package analyze in concept: a results-output file (--result-path), a fail-on-severity threshold (--stop-on-rule-violation), and optional rule-selection flags. Flag names are kebab-case (--governance-file-path, --result-path, --stop-on-rule-violation) rather than the PascalCase used by uipcli.
Migration from the legacy .NET CLI
| Legacy .NET CLI | Modern CLI |
|---|---|
uipcli package analyze <project> | uip rpa analyze <project> |
--governance-file-path <policy> | --governance-file-path <policy> |
See Migration — package analyze for the full flag-level map.
Related
- uip rpa pack — run before or after packaging.
- uip rpa restore — ensure dependencies are present on disk so activities resolve for analysis.