I am trying to invoke a workflow but it is not allowing me to, it gives the following error:
System.Exception: The invoked workflow ‘XXX’ has validation errors. Please review the workflow and resolve the errors. —> System.Activities.InvalidWorkflowException: The following errors were encountered while processing the workflow tree:
‘XXX’: The private implementation of activity ‘1: XXX’ has the following validation error: Value for a required activity argument ‘Value’ was not supplied.
at System.Activities.Hosting.WorkflowInstance.ValidateWorkflow(WorkflowInstanceExtensionManager extensionManager)
at System.Activities.Hosting.WorkflowInstance.RegisterExtensionManager(WorkflowInstanceExtensionManager extensionManager)
at System.Activities.WorkflowApplication.Enqueue(InstanceOperation operation, Boolean push)
at System.Activities.WorkflowApplication.SimpleOperationAsyncResult.Run(TimeSpan timeout)
at System.Activities.WorkflowApplication.BeginRun(AsyncCallback callback, Object state)
— End of inner exception stack trace —
at UiPath.Core.Activities.InvokeWorkflowFile.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager
The workflow invoking this one invoke other activities just fine but it fails when trying to invoke this specific.
I have had a look through the workflow but can’t see any validation errors, and when I use the “Validate” option in Studio it says “No validation errors found”.
Slightly baffled by this one. Anyone encountered anything like it before? It has the same dependencies and arguments as the other workflows that are still successfully being invoked.