sdk
latest
false
Developer Guide
Last updated Mar 23, 2024

Type: Simple

Activity Creator



Generated Code

Simple activities extend the BaseAsyncCodeActivity, which simply runs a bit of execution logic and creates the kind of activity seen below. These types of activities do not contain any child activities.
using ...
namespace MyCompany.MyProduct.Activities
{
    [LocalizedDisplayName(nameof(Resources.Addition_DisplayName))]
    [LocalizedDescription(nameof(Resources.Addition_Description))]
    public class Addition : ContinuableAsyncCodeActivity
    {
      ...
    }
}using ...
namespace MyCompany.MyProduct.Activities
{
    [LocalizedDisplayName(nameof(Resources.Addition_DisplayName))]
    [LocalizedDescription(nameof(Resources.Addition_Description))]
    public class Addition : ContinuableAsyncCodeActivity
    {
      ...
    }
}

Effect in UiPath Studio

Simple activities may display fields in their designers. All required input properties are added to the designer.



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.