Hi @manish110,
i just created sample Addition process
Refer the below code
1.C# Code
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Activities;
using System.ComponentModel;
namespace Addition
{
public class Addition1 : CodeActivity
{
[Category(“Input”)]
public InArgument value1 { get; set; }
[Category("Input")]
public InArgument<int> value2 { get; set; }
[Category("Output")]
public OutArgument<int> value3 { get; set; }
protected override void Execute(CodeActivityContext context)
{
value3.Set(context, (Convert.ToInt32(value1.Get(context)) + Convert.ToInt32(value2.Get(context))));
}
}
}
**2.Convert into package like(Addition1.Activities.1.nupkg **
3.Add package into below path
C:\Program Files (x86)\UiPath Platform\Packages
4.Close the UiPath Application
5.install the packages in uipath (click manage package(ctrl+P)->Available->install the Addition package
6.in activity tab search “Addition1” you can get the activity
can you check and modify as per your requirement, if you face any problem tell me.
@aksh1yadav ,@divyashreem,@andrzej.kniola please verify
Regards,
Arivu