Creating Custom Activity in Uipath | RPA Uipath

Поділитися
Вставка
  • Опубліковано 10 лют 2025
  • An activity is the building block of a process automation. UiPath Studio comes with various built-in activities, as well as dedicated activities (PDF, mail, Excel) you can install through the Package Manager, depending on your needs. You can read The UiPath Activities Guide for more details and examples, as well as how to Manage Activities Packages. Additionally, you can create custom activities to better automate processes based on your needs.
    There are two major steps required to create a custom activity:
    Writing the custom activity code.
    Adding the external assembly (.dll) in UiPath.
    Note that the following components are required to create a custom activity:
    1. Microsoft Visual Studio - visualstudio.m... (download the latest version or lower version of VS)
    2. Nuget Package Explorer (Download it from Microsoft store)
    Use Below C# code for your practice:
    public static int Sum(int num1, int num2)
    {
    int total;
    total = num1 + num2;
    return total;
    }
    public static void Main()
    {
    Console.Write("

    Function to calculate the sum of two numbers :
    ");
    Console.Write("--------------------------------------------------
    ");
    Console.Write("Enter a number: ");
    int n1= Convert.ToInt32(Console.ReadLine());
    Console.Write("Enter another number: ");
    int n2= Convert.ToInt32(Console.ReadLine());
    Console.WriteLine("
    The sum of two numbers is : {0}
    ", Sum(n1,n2) );
    }
    #UiPathRPA #UiPath #RPA #UiPathStudio #uipathtutorialsforbeginners #uipathdemo #uipathcustomactivitydesigner #uipathcustomactivitysample #howtoaddcustomactivityinuipath #uipathcustomactivitygithub #howtocreatelibraryinuipath
    ************************************************************************
    Did you enjoy the video? If so, give it a like above!
    Subscribe to our channel for more techie video
    👉 www.youtube.co...
    Keep Learning!! Keep Growing!!
    P.S. Make sure to keep up with us by clicking the bell!

КОМЕНТАРІ • 1

  • @DarshitVekariya-j9z
    @DarshitVekariya-j9z Рік тому

    any suggestion for multiple assign type activity create
    like bottom add button to new row or assign create
    I have required this activity type concept.
    please to provide any suggestion