Hi Everyone…
Im new in UIPath
Im just trying the tutorial, setup the studio, machine, and robot and make my first process
Im trying to writing to .txt file… and everything work smooth in uipath studio
but when im trying to run it in uipath assistant
theres error like this
One or more errors occurred.
Server stack trace:
at UiPath.Core.Activities.Retry.Do[ResultType](Func`1 action, Int32 timeoutMS, Int32 retryCount)
at UiPath.Core.Activities.Retry.Do(Action action, Int32 timeoutMS, Int32 retryCount)
at UiPath.Core.Activities.WriteTextFile.ExecuteAsync(String fileName, String text, String encodingStr)
at UiPath.Core.Activities.WriteTextFile.<>c__DisplayClass12_0.b__0()
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object args, Object server, Object& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)
Exception rethrown at [0]:
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)
Hi everyone.
My workflow is a bit more complex but it happens the same issue.
the process runs well on Uipath Studio and stops on Assistant.
my robot uses a web service to download a file and then it read it, and that is the moment when the process stops in assistant, because the file doesn’t exist.
the robot also creates a log.txt with the “create file” activity; Studio creates it, Assistant don’t, but it doesn’t fail.
I think manipulating files it’s giving me problems. why is this happening?
help please.
Hi all, we are experiencing the exact same issue.
Strange thing is that the error is not occurring always, but I can’t find a pattern.
Any solution for this already?
Hi everyone.
the issue with any activity that has the FileName property is that the full path must be completed.
when you publish the project in Assistant, its path is: “C:\Users[user].nuget\packages[project_name][project_version]”
it’s not the same when you run it from Studio. the default path is: “C:\Users[user]\Documents\UiPath[project_version]”
I don’t have this issue when I set the full path of any FileName property.
You should check this detail throughout your project.
Correction:
the issue with any activity that has the FileName property is that the full path must be completed.
When you publish the project in Assistant, its path is: