Hi All,
I have added a new activity in this package called Native Group Aggregation.
Here I have attached the Video and Sample Project Also. Using this activity . can able to do Sum,Max,Min and Count in a single activity.
I have tried using native Group Aggregation however when I insert multiple Group by Columns ({“EmployeeName”, “Description1”,“Description2”}) I get the following error:
RemoteException wrapping System.Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
at DataTableExtensions.NativeGroupAggregation.10AA0()
at DataTableExtensions.NativeGroupAggregation.Execute(CodeActivityContext context)
at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance,
ActivityExecutor executor,
BookmarkManager bookmarkManager)
at System.Activities.ActivityInstance.Execute(ActivityExecutor executor,
BookmarkManager bookmarkManager)
at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor,
BookmarkManager bookmarkManager,
Location resultLocation)
I have tried using your UiPath project and get the same error.
Have to get the Max “Available Balance”
respective of the “Account Number”. So it has to be grouped by “Account Number” for the “Available Balance”. And the output should have the “Name” and “City”.
This activity doesn’t convert the datatable’s column dataType , we have to use an activity from @JyotsnaUiPath Labs to convert datatype . I have illustrated an example for you.