SDK
latest
false
Banner background image
Developer Guide
Last updated 2024年3月23日

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.