Create your first automation in just a few minutes.Try Studio Web →
by Auxiliobits, Inc.
4
Activity
34.7k
Hi
Any idea why I receive this error, when my datatable contains plenty of rows:
---
System.InvalidOperationException: The source contains no DataRows.
at System.Data.DataTableExtensions.LoadTableFromEnumerable\
at System.Data.DataTableExtensions.CopyToDataTable\
at DataTableOperation.MinusOperation.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)
---
Thanks
Bjarne
Hello Bjarne,
Reason could be the datatable has no Datarow after or before using these activity .
like you pass a arugment datatable with no row or after processing through this activity may be no record in output data table
In minus operation there is primary datatable and secondary datatable but from which datatable it removes the data and which is to be removed, i am confused.
so plz reply.
Hello pravupada
Record that present in primary and secondary datatable both that record remove from Primary datatable
License & Privacy
MIT
Privacy Terms
Technical
Version
2.0.0Updated
November 27, 2023Works with
Studio: 22.10+
Certification
Silver Certified
Support
UiPath Community Support