studio
2023.10
false
UiPath logo, featuring letters U and I in white
Studio User Guide
Last updated Nov 18, 2024

Working with Coded automations

This page provides instructions on debugging, running, and publishing your coded automations.

Debugging

Debugging coded automations resembles the debugging process for low-code automations. You can set breakpoints, utilize debugging panels, and enable profile execution. Also, the debug running mode stops on each affected line, so you can troubleshoot. Visit About Debugging to learn more about debugging automations in Studio.

Note: You can't perform remote debugging on coded automations.

Running

You can run coded automations similarly to how you would run a low-code automation. In the Design tab in Studio, click Run to run the whole project, or Run File to run the current file.

Visit Start Debugging at the bottom of the page, to learn about running automations in Studio.

Validation

You can run the Workflow Analyzer to check your project for inconsistencies unrelated to project execution. This ensures that your project meets high quality and reliability standards. After you run the Workflow Analyzer, in the Error List panel you can see compilation messages and errors. The panel shows validation errors, warnings, and messages specific to both XAML (low-code automations) and CS files (coded automations).
Note: In comparison to low-code automations, you are unable to manage the rules that govern the analysis process.

Visit About Workflow Analyzer to learn more about how to analyze your project.

Publishing

To publish a Studio project, you can select the Publish option in the Design tab ribbon. By default, all files in the project folder are published except for test cases.

You can prevent a specific file from being included in the published package by right-clicking it in the Project panel and selecting Ignore from Publish. Otherwise, right-click a file in the Project panel and select Set as publishable.

Projects can be published to Orchestrator, a custom NuGet feed, or locally. After publishing to Orchestrator, the archived project is displayed on the Packages page, and you can create a process to be distributed to Robots. To publish a project, the project.json and design.json files in the project folder must not be in a read-only location.

Visit About Publishing Automation Projects to learn how to publish your projects.

Supported runtimes

Coded automations support the following runtimes:

  • Robot - You can deploy coded automations on Robots that support the Windows framework versions 2022.4 and higher.
  • Orchestrator - You can deploy coded automations on any version of Orchestrator that's in support.

Converting coded automations

You can convert a coded workflow to a coded test case and the other way around. To convert a coded automation, right-click the file in the Project panel and select Convert to Test Case or Convert to Workflow.

Was this page helpful?

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