Problems with the " Practice 2 — Using the Invoke Workflow File"

Hello everyone.

I would like to contact someone who has successfully run the “Problems with the "
Practice 2 — Using the Invoke Workflow File” module “Variables and arguments in Studio Web.” After modifying the existing connections when importing the “Practice 2 — Invoke workflow file.uis” provided in the module, the details error that appears when performing the step-by-step test is the following:
“2025-08-05 13:38:28.285 CEST: Error: System.InvalidOperationException: Failed to restore all packages
Unresolved package(s):
ExpenseReporting.Activities 6.0.1
at UiPath.RemoteAgent.Services.ProjectSetupServiceBase.RestoreNugetPackagesAsync(CancellationToken cancellationToken) in /home/admincdagb6a6d90bwe/azp/agent/_work/7/s/Studio/Robot/UiPath.RemoteDebugging.Agent/Services/ProjectSetupServiceBase.cs:line 48
at UiPath.RemoteAgent.Executor.Signalr.Services.ExecutorWebProjectSetupService.SetupFreshStartAsync(ExecutionStartOptionsSlim startOptions, CancellationToken cancellationToken) in /home/admincdagb6a6d90bwe/azp/agent/_work/7/s/Studio/Robot/UiPath.RemoteDebugging.Agent/Executor/Signalr/Services/ExecutorWebProjectSetupService.cs:line 77
at UiPath.RemoteAgent.Executor.Signalr.Services.ExecutorWebProjectSetupService.SetupAsync(IExecutionStartOptions startOptions, CancellationToken cancellationToken) in /home/admincdagb6a6d90bwe/azp/agent/_work/7/s/Studio/Robot/UiPath.RemoteDebugging.Agent/Executor/Signalr/Services/ExecutorWebProjectSetupService.cs:line 63
at UiPath.RemoteAgent.Services.ExecutorProxyClient.SetupProjectAsync(IExecutionStartOptions startOptions) in /home/admincdagb6a6d90bwe/azp/agent/_work/7/s/Studio/Robot/UiPath.RemoteDebugging.Agent/Services/ExecutorProxyClient.cs:line 66
at UiPath.RemoteAgent.Executor.Signalr.Services.RobotExecutorSignalrClient.<.ctor>b__16_0(Object _, ExecutionStartOptionsSlim o) in /home/admincdagb6a6d90bwe/azp/agent/_work/7/s/Studio/Robot/UiPath.RemoteDebugging.Agent/Executor/Signalr/Services/RobotExecutorSignalrClient.cs:line 77
at UiPath.Shared.AsyncEventInvoker.InvokeAsyncInternal[TArgs](AsyncEventHandler1 eventHandler, Object sender, TArgs args, Boolean safeInvoke) in /home/admincdagb6a6d90bwe/azp/agent/_work/7/s/Studio/Common/UiPath.Shared/AsyncEventHandler.cs:line 42 at UiPath.Shared.AsyncEventInvoker.InvokeAsync[TArgs](AsyncEventHandler1 eventHandler, Object sender, TArgs args) in /home/admincdagb6a6d90bwe/azp/agent/_work/7/s/Studio/Common/UiPath.Shared/AsyncEventHandler.cs:line 23
at UiPath.Executor.Debugger.Client.Services.RobotExecutorProxy.SetupAsync(ExecutionStartOptionsSlim startOptions) in /home/admincdagb6a6d90bwe/azp/agent/_work/7/s/Studio/Common/UiPath.Executor.Debugger.Client/Services/RobotExecutorProxy.cs:line 320
at UiPath.Executor.Debugger.Client.Services.RobotExecutorProxy.StartJobAsync(ExecutionStartOptionsSlim startOptions) in /home/admincdagb6a6d90bwe/azp/agent/_work/7/s/Studio/Common/UiPath.Executor.Debugger.Client/Services/RobotExecutorProxy.cs:line 304”

Attached capture screenshot of this problem.

Thank you, and best regards, everyone.

@JFMM,

You will have to add the package - ExpenseReporting.Activities to your project.

Here is how to add a package to Studio web project:

Thank you very much Ashok.

I managed to resolve this by downloading the project and removing the package (ExpenseReporting.Activities) from the project’s dependencies of the project. It seems that it’s not necessary.

I’m providing the steps I followed because I can’t get the “Open in Studio Desktop” option available from the View menu when selecting the project, as shown in the following image.

Once you’ve downloaded the project with the “uis” extension, to open it in UiPath Studio Community, you need to unzip its contents, for example using the free 7-Zip tool, and open its “project.json” file, located in the “RPA Workflow” folder within the path where you unzipped the project with the “uis” extension.
Once inside UiPath Studio, we proceed to remove the package by uninstalling it from the “Manage Packages” section.
Finally, we save the project with the changes made and delete the “UserProfile_” folder that was previously generated within the location of the Studio Web project that we downloaded locally and opened in UiPath Studio. Once this is done, we reopen the project in UiPath Studio and can update the Studio Web project with the changes and successfully run the practice session.

If you have any questions regarding the steps taken to solve the problem, please don’t hesitate to ask.

Best regards, everyone.

1 Like