- Overview
- Custom activities
- Migrating Activities to .NET 6
- Release Notes
- Building Workflow Analyzer Rules
- Building Activities Project Settings
- Creating Custom Wizards
- Prioritize Activities by Scope
- UiPath.Activities.Api.Base
- UiPath.Studio.Activities.Api
- UiPath.Studio.Activities.Api.Activities
- UiPath.Studio.Activities.Api.BusyService
- UiPath.Studio.Activities.Api.ExpressionEditor
- UiPath.Studio.Activities.Api.Expressions
- UiPath.Studio.Activities.Api.Licensing
- UiPath.Studio.Activities.Api.Mocking
- UiPath.Studio.Activities.Api.ObjectLibrary
- UiPath.Studio.Activities.Api.PackageBindings
- UiPath.Studio.Activities.Api.ProjectProperties
- UiPath.Studio.Activities.Api.ScopedActivities
- UiPath.Studio.Activities.Api.Settings
- UiPath.Studio.Activities.Api.Wizards
- UiPath.Studio.Activities.Api.Workflow
- UiPath.Studio.Api.Controls
- UiPath.Studio.Api.Telemetry
- UiPath.Studio.Api.Theme
- Robot JavaScript SDK
- Triggers SDK

Developer Guide
In this section you can find more information on how to build activities using UiPath.Studio.Activities.Api.Activities.
Enables drag-and-drop functionality for activities, for example dragging items from the Resources panel onto an activity.
Constants
Type |
Name |
---|---|
string |
AssetDataId |
string |
ProcessDataId |
string |
QueueDataId |
string |
EntityDataId |
string |
UiElementDataId |
A repository of activity factories.
Methods
void Register(RegisterArgs registerArgs)
Registers a RegisterArgs specific for an activity.
Parameter Type |
Parameter Name |
---|---|
RegisterArgs |
registerArgs |
public void Register(Type activityType, Func<string, Activity> activityFactory, string activityDataId)
Registers a factory method for creating the specified activityType type activity and associates the activityDataId with the activity type.
Parameter Type |
Parameter Name |
---|---|
Type |
activityType |
Func<string, Activity> |
activityFactory |
string |
<void Register<T>(Func<string, T> activityFactory, string activityDataId)
Registers a factory method for creating the specified T type activity and associates the activityDataId with the activity type.
Parameter Type |
Parameter Name |
---|---|
Func<string, T> |
activityFactory |
string |
Exposes the functionality of adding activity synonyms.
Methods
void SetActivitySynonyms(Type activity, IReadOnlyCollection/ synonyms)
Adds a list of synonyms for a given activity.
Parameter Type |
Parameter Name |
Remarks |
---|---|---|
Type |
Activity |
The type of activity. |
IReadOnlyCollection/ |
synonyms |
A collection of synonyms for the activity. |
Exposes functionality for trigger activities to register information about themselves.
Properties
Type |
Name |
Description |
---|---|---|
bool |
IsEnabled |
Indicates if Studio supports triggers (HasFeature is
true and feature flag is true ).
|
Methods
void SetData(Type activityType, TriggerData triggerData)
Allows an activity to register information about its output argument, like type (e.g. SalesForceAccount, Office365Message[]) and name.
Parameter Type |
Parameter Name |
Remarks |
---|---|---|
Type |
activityType |
The type of activity. |
TriggerData |
triggerData |
The associated trigger data for this activity, |
Exposes the functionality of setting an activity as attended.
Methods
void SetActivityAttended(Type activity)
Sets the isAttended flag for a given activity.
Parameter Type |
Parameter Name |
Remarks |
---|---|---|
Type |
Activity |
The activity which needs to be registered as attended. |
Arguments used to exchange information between Studio and activities related to activity type, activity data ID, and multiple factory methods for creating the selected activity type.
Properties
Type |
Name |
Description |
---|---|---|
string |
ActivityDataId |
The associated ID for the activity type. |
Type |
ActivityType |
The activity type of the activity created by the associated factory method (ActivityFactoryV1 or ActivityFactoryV3). |
Methods
public Func<string, Activity> FactoryV1
Factory method for creating the specified activity type. The string parameter is the optional associated data (asset name, queue name, etc.).
Parameter Type |
Parameter Name |
Remarks |
---|---|---|
Func<string, Activity> |
FactoryV1 |
The type of activity. |
public Func<string, Activity> FactoryV3
Factory method for creating the specified activity type. The string parameter is the optional associated data (asset name, queue name, etc.).
Parameter Type |
Parameter Name |
Remarks |
---|---|---|
Func<string, Activity> |
FactoryV3 |
The type of activity. |
public Func<string, Task<Activity>> FactoryV4
Factory method for creating the specified activity type. The string parameter is the optional associated data (asset name, queue name, etc.). Requires Studio 2022.4 or later.
Parameter Type |
Parameter Name |
Remarks |
---|---|---|
Func<string, Task<Activity>> |
FactoryV4 |
The type of activity. |
Trigger data for the activity.
Properties
Type |
Name |
Description |
---|---|---|
string |
PropertyName |
Name of the activity property which holds the trigger data. |
string |
Name |
Name of the variable or argument which Studio will create and map to the activity property. |
Type |
Type |
The type of the trigger data (e.g. Office365Email[]). |
ArgumentDirection |
Direction |
Not used, but allows activities to specify if the data is for input or output. Currently output only. |