I have a package run well on its own. However, when I am trying to run it from another workflow process by using the invoke workflow file activities and it gives me the error message.
RemoteException wrapping System.Xaml.XamlObjectWriterException: Set property ‘UiPath.Core.Activities.Target.WaitForReady’ threw an exception. —> RemoteException wrapping System.ArgumentException: Object of type ‘System.Activities.InArgument`1[UiPath.Core.WaitForReady]’ cannot be converted to type ‘UiPath.Core.WaitForReady’.
when I am opening the package in the workflow, surprisingly there is some error with some step which is not shown up when I open it straight (rather than using invoke workflow file), this error message is
Are both workflows (the “Main” one and the “invoked” one) part of the same project?
If not then the error could be caused by dependencies - different version or missing.
I downloaded the invoked one from the website and the main one was created by myself. I think that it must be caused by the version difference. so the question now is how I can make the 2 file compatible to each other?