Validation error : Invalid Item Name

First time I have come across this issue, can’t seem to resolve. When I click run/debug, I get a “Unable to start execution” popup.

System.Activities.InvalidWorkflowException: The following errors were encountered while processing the workflow tree:
‘Main’: The private implementation of activity ‘1: Main’ has the following validation error: Invalid Item name
at System.Activities.WorkflowInspectionServices.GetActivities(Activity activity)+MoveNext()
at System.Linq.Enumerable.SelectManySingleSelectorIterator2.MoveNext() at System.Linq.Enumerable.ConcatIterator1.MoveNext()
at System.Linq.Enumerable.SelectManySingleSelectorIterator2.MoveNext() at System.Linq.Enumerable.SelectEnumerableIterator2.MoveNext()
at System.Collections.Generic.HashSet1.UnionWith(IEnumerable1 other)
at System.Collections.Generic.HashSet1..ctor(IEnumerable1 collection, IEqualityComparer1 comparer) at System.Linq.Enumerable.DistinctIterator1.ToArray()
at UiPath.Executor.Tracking.TrackingHelpers.TrackVariables(TrackingProfile profile, WorkflowInfo workflowInfo)
at UiPath.Executor.Tracking.DebugTrackingParticipant.RegisterWorkflow(WorkflowInfo workflowInfo)
at UiPath.Executor.Tracking.WorkflowTracking.RegisterWorkflowTracking(WorkflowInfo workflowInfo)
at UiPath.Executor.RobotRunner.InitWorkflowApplication()
at UiPath.Executor.RobotRunner.ExecuteJob(Boolean preLoaded)

@David_Hernandez2,

Any particular activity throwing this? Also try recreating the workflow activity by activity to isolate the issue.

I found the issue, did what you suggested commented out each activity line by line. Seemed to be coming from this for each:

Item Name being “error” ironically causes this issue to popup. Changing the name to “CurrentError” fixed this issue. :man_shrugging:

That’s great @David_Hernandez2.

As always, the devil’s in the details :wink:

Let’s close the thread!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.