Activities are the building blocks of process automation. Each contains an atomic action which, stacked together with other activities, composes a workflow.
UiPath Studio includes a number of prebuilt activities that you can install through the Package Manager.
Additionally, you can create your own custom activities specific to your needs using UiPath's Activity Creator extension for Visual Studio. The steps below will give you the foundation to build custom activities in 5 minutes flat. In this section, we'll create an activity package and in the next, populate it with functional activities.
- Visual Studio Community/Professional/Enterprise 2022 with the .NET desktop development workload installed
- UiPath's Marketplace Feed (https://gallery.uipath.com/api/v3/index.json) as a package source in Visual Studio. See here for instructions on adding package sources.
- .NET 6
- UiPath Studio
Note that version 4.0 of the Activity Creator only works with Visual Studio 2022. Likewise, the activities produced target .NET 6 Windows projects. To create activities compatible with older versions of Visual Studio or .NET, please use version 3 of the extension.
Also, the activities created by this extension rely on UiPath-made libraries currently available on the Marketplace feed (https://gallery.uipath.com/api/v3/index.json). This feed must be available in Visual Studio during development or the activities will not build successfully.
Open Visual Studio and click Extensions > Manage Extensions.
In the wizard that appears, click Online and then Search (
Ctrl+E) for UiPath. Download the UiPath Activity Creator extension.
Close Visual Studio and, once the VSIX Installer appears, complete the installation.
Reopen Visual Studio and double-click Create a new project on the home screen.
On the Create a new project screen, type "uipath" in the search bar, select UiPath Standard Activity Project, and click Next.
Give your project a name. The UiPath convention is
<Your company's name>.<Your product's name> (e.g. UiPath.Orchestrator). Then click Create.
Navigate to the Solution Explorer and notice that 3 projects, a Shared folder, and many files have now been added to solution. This is the foundation of every activity package. Continue to the next section to add your first activity.