I want to get Count as Below.
but it occured error
can you help me?
-
count of school > pc> level1
-
count of school > pc> level2
-
count of school > pc> level3
-
count of school > pc> level4
-
count of school > notebook> level1
-
count of school > notebook> level2
-
count of school > notebook> level3
-
count of school > notebook> level4
…sample_Data.zip (9.6 KB)
[error detail]
19.5.0+Branch.master.Sha.a03bc4726ca82b7bb3addb0d04106dc150b31fba
Source: Invoke Code
Message: Exception has been thrown by the target of an invocation.
Exception Type: System.Reflection.TargetInvocationException
An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ----> System.ArgumentException: Column ‘Column0’ does not belong to table .
at System.Data.DataRow.GetDataColumn(String columnName)
at System.Data.DataRow.get_Item(String columnName)
at System.Data.DataRowExtensions.Field[T](DataRow row, String columnName)
at UiPathCodeRunner_5619e9ab1baa4687ab903ec88a3afbc5._Lambda$__1(DataRow DT)
at System.Linq.Enumerable.WhereEnumerableIterator1.MoveNext() at System.Linq.Enumerable.WhereEnumerableIterator
1.MoveNext()
at System.Linq.Enumerable.Count[TSource](IEnumerable`1 source)
at UiPathCodeRunner_5619e9ab1baa4687ab903ec88a3afbc5.Run(DataTable DT1, Int32 ArrCount1)
— End of inner ExceptionDetail stack trace —
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object parameters, Object arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object parameters, CultureInfo culture)
at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object providedArgs, ParameterModifier modifiers, CultureInfo culture, String namedParams)
at UiPath.Core.Activities.Workflow.CompilerRunner.Run(Object args)
at UiPath.Core.Activities.InvokeCode.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)