Hello, I have problem with process. When i was started process in Orchestrator on my other machine then ui assistant send log like this:
Process has exited, so the requested information is not available.
at System.Diagnostics.Process.EnsureState(State state)*
at System.Diagnostics.Process.get_MainWindowHandle()*
at System.Diagnostics.Process.CloseMainWindow()*
at UiPath.Core.Activities.MessageBox.GetProcessResult(String text, TimeSpan autoCloseAfter, MessageBoxOptions buttons, String title, Boolean showTopMost)*
at UiPath.Core.Activities.MessageBox.<>c.<.ctor>b__26_0(String text, TimeSpan autocloseAfter, MessageBoxOptions buttons, String title, Boolean showTopMost)*
at UiPath.Core.Activities.MessageBox.Execute(CodeActivityContext context)*
at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)*
at System.Activities.ActivityInstance.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)*
at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)*
This process look like this
The error is appears when i click to button “ok”
Hello @Pawel_Bartkowicz
Does that mean it is working as expected in the studio and you are facing the issue on while executing from orchestrator?
Thanks
Ohh This error appears, but only on the second machine.
Hi @Pawel_Bartkowicz Are you able to run this code in you UiPath studio properly?
Yes in one machine is working but when i copy project to another, the process dont work
@Pawel_Bartkowicz
So in the second machine, is this path provided in the Assign activity the valid one?
Thanks
@Pawel_Bartkowicz Could you try this steps:
Open your second machine
Manually create that folder on that location
Copy that folder path and match with the path that you have assigned in filepath variable.
I know inssues, when i declarate this:
then script dont’t work, so i why AutomatycllyCloseAfter make error?
1 Like
midhunsug661
(Midhun Sugathan)
September 30, 2022, 10:10pm
9
Hey @Pawel_Bartkowicz ,
Can you let me know what’s the Environment variable you are trying to display in the message box? It could be because the variable you are trying to access might not be defined in the specific system. Could you send the whole text you are trying to display in the message box?
system
(system)
Closed
October 18, 2022, 8:33am
10
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.