Invoke enviroment error

I have a project that we are doing some reengineering. We have some processes that have generic components that we have discovered throughout development.
And when i tried to use some of those component, with routes configured in json archives, and reopen those task through the IDE, it gives some errors, that doesn’t allow to modify the invokes, and export the variables is kind of difficult because anytime i use the button to assign those values or modify thoses, it just clean the whole formulary, when in some cases it has like 20 exported values
Is there some way to overcome this kind of problem?

There is a dump for the error while i look arround the flow that i am working, and shows me a dialog that indicates a reinitiate or ignore, and at the same time, indicates that i have that kind of invoke errors.
image

An internal error has occurred. It is recommended to restart UiPath Studio.

Error: System.ArgumentException: Illegal characters in path.
at System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional)
at System.IO.Path.InternalGetDirectoryName(String path)
at UiPath.Core.Activities.Design.InvokeWorkflowInteractiveDesigner.GetWorkflowFullPath()
at UiPath.Core.Activities.Design.InvokeWorkflowInteractiveDesigner.SetProperties(Object sender, RoutedEventArgs e)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
at System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent)
at System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler), HResult -2147024809

Hi @Rodrigo_Oviedo,
Welcome to the Community!
Please have a look here:

Known issue:
Import Arguments button makes arguments values overwritten with default value from invoked workflow arguments. This makes usually the values empty. This issue will be fixed in next release.

To avoid this problem you can edit arguments using this button:
image
Or you can downgrade image to 19.4.0 version and use it with old method.

4 Likes

Thanks a lot! i have find a workaround, opening the file with a text editor and changing the dependencies on the project.json archive.

The same you can do by just downgrade System.Activites to 19.4 in Manage Packages in studio. Anyway this bug will be fixed in next release :slight_smile:

1 Like