Scheduling an activity failing in Excel

My activity is simple,
Open browser to download a CSV file and the info of that CSV copy in another excel.

The issue is in the final step, When I run the activity directly from UiPath Studio it’s all ok, but using UiPath assistant or Task Scheduler from Windows doesn’t open the CSV file.

Anything about this?

@Ariel_Antonio_Gallegos

Where the CSV is downloaded?

Is it in shared path or local path?

Thanks

Hi @Ariel_Antonio_Gallegos
Try creating a package with the process that you have created in studio and uploading it in orchestrator and running.
I hope that might work.

local

@Ariel_Antonio_Gallegos

Can you check while running your process is the CSV is created in the local folder?

Thanks

@Ariel_Antonio_Gallegos

If there is a problem in saving CSV then give the entire path of the CSV file and check

Hope this helps you

Thanks

It happen the same way.
This is the error message:
An error appeared while executing DashBoard - Productivity
Error message: The UiElement is no longer valid
RemoteException wrapping UiPath.Core.InvalidUiElementException: The UiElement is no longer valid —> RemoteException wrapping System.Runtime.InteropServices.COMException: Invalid UI node.
at UiPath.UiNodeClass.FindFirst(UiFindScope scope, String nodeID)
at UiPath.Core.UiElement.FindFirst(FindScope scope, Selector selector, IVariableResolver resolver)
— End of inner exception stack trace —
at UiPath.Core.Activities.ScopeActivity.OnFaulted(NativeActivityFaultContext faultContext, Exception propagatedException, ActivityInstance propagatedFrom)
at System.Activities.Runtime.FaultCallbackWrapper.Invoke(NativeActivityFaultContext faultContext, Exception propagatedException, ActivityInstance propagatedFrom)
at System.Activities.Runtime.FaultCallbackWrapper.FaultWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)

It always stop in the activity Read CSV.

@Ariel_Antonio_Gallegos

IF you check the error, It’s a UiElement problem

Can you fix UiElement you are using? Make dynamic selector

Hope this helps you

Thanks

I solved adding a delay to wait for the UiElement to appears.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.