I’ve created a flowchart, basically, I get information from excel using
Select Range → Copy Select Text → Set to Clipboard → Basic (in this activity I open SAP transaction and paste the result from clipboard).
So, the whole process works very well but when it arrives at the end show the error message:
Thank you @eduardo.marchesin !
But in order to understand more the error, I need you to copy/paste what is inside the error box starting from RemoteException
RemoteException wrapping System.AggregateException: One or more errors occurred. —> RemoteException wrapping System.Exception: Empty clipboard
at UiPath.Core.Setup.GetClipboardText()
at UiPath.Core.Activities.ClipboardWrapper.<>c.b__4_0()
at UiPath.Core.Retry.Do[ResultType](Func`1 action, Int32 timeoutMS, Int32 retryCount)
— End of inner exception stack trace —
at UiPath.Core.Activities.ObsoleteTaskAsyncCodeActivity`1.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)
Definitely, the error that the robot says is that it can’t copy when there is nothing to copy.
In your workflow, does a case happen when you select range of nothing? Or did you check that the robot selects properly ?
Anyway, several people had the same issue as yours and ended up droping copy selected text to the option that points @Shivaraju
See here the details of the option
Maybe try to replace that 2 activities (copy text and set to clipboard) with “send hotkey” ctrl+c. It will act like user and should copy that datatable My guess is that copy selected text not works with datatable from excel (but I never tried to use that way)
The whole process works very well until at the end, the process includes copy a range in excel, open an SAP transaction paste the values on this option, and put to execute in background. It is working very well, only when the process arrives at the end show me the error message. I’ve tested and after finish the process I’ve opened the notepad and with Ctrl+V paste the clipboard, the information was there. The number of items was the same among excel and clipboard.