Hi,
Newbie question maybe, but I’m unable to pass arguments into another workflow and cannot find any specific
answer as to why this shouldn’t work. I tried to create this workflow, exactly as instructed in:
The first workflow only passes an argument named “InputArgument” to the invoked workflow (Direction “In”). An argument named “InputArgument” is also declared in the second workflow as instructed. The SecondWorkflow only
has a messagebox that quotes the InputArgument variable. So, everything should be in order.
But I always get the same error:
Main has thrown an exception
Message: The values provided for the root activity’s arguments did not satisfy the root activity’s requirements:
‘SecondWorkflow’: The following keys from the input dictionary do not map to arguments and must be removed: InputArgument. Please note that argument names are case sensitive.
Parameter name: rootArgumentValues
Source: Invoke workflow file: UiPath.Core.Activities
Exception Type: ArgumentException
System.ArgumentException: The values provided for the root activity’s arguments did not satisfy the root activity’s requirements:
‘SecondWorkflow’: The following keys from the input dictionary do not map to arguments and must be removed: InputArgument. Please note that argument names are case sensitive.
Parameter name: rootArgumentValues
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 bookmarkManager)
Can somebody tell me what I’m doing wrong?
I cannot see any clear errors in these workflows.