cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Smruthi_M
New Member

Encountered an unexpected error during Desktop flow script execution

Hi,

 

I am trying to run a simple desktop flow from the cloud flow by Connecting "Directly to machine". The connection to the machine is successful. I am able to select the machine and the desktop flow. I chose to run it in Attended mode.

Though I am able to run the flow in one machine, I keep getting the below error in another machine.

 

Encountered an unexpected error during Desktop flow script execution: 'System.Exception: Host process terminated with unknown exit code -532462766
at Microsoft.Flow.RPA.Desktop.Robin.Runtime.Agent.Agent.CheckHostProcessExitCode()
at Microsoft.Flow.RPA.Desktop.Robin.Runtime.Agent.Agent.LoadRobotImpl(String packageLocation, Int32 varPreviewChars, Int32 varPreviewLines, Boolean isDebug)
at Microsoft.Flow.RPA.Desktop.Robin.Runtime.Agent.Agent.<>c__DisplayClass73_0.<LoadRobotAsync>b__0()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.Flow.RPA.Agent.Server.Components.ScriptEngines.RobinEngine.RobinEngine.<Execute>d__17.MoveNext()'.

 

Please help me with the issue. I am relatively new to Power Platform. I am using the trial version of Power Platform.

2 REPLIES 2
Edzone
New Member

Having the same issue when running Desktop flow in Power Automate Flows.

Edzone_0-1636106246678.png

ncountered an unexpected error during Desktop flow script execution: 'System.Exception: Host process terminated with unknown exit code -532462766
at Microsoft.Flow.RPA.Desktop.Robin.Runtime.Agent.Agent.CheckHostProcessExitCode()
at Microsoft.Flow.RPA.Desktop.Robin.Runtime.Agent.Agent.LoadRobotImpl(RobotOptions options)
at Microsoft.Flow.RPA.Desktop.Robin.Runtime.Agent.Agent.<>c__DisplayClass73_0.<LoadRobotAsync>b__0()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.Flow.RPA.Agent.Server.Components.ScriptEngines.RobinEngine.RobinEngine.<Execute>d__19.MoveNext()'.

 

Thanks,

 

vishrpa143
Frequent Visitor

Have you found any resolution

Helpful resources

Announcements
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

New Process Advisor Capabilities carousel.png

Read the blog for the latest news

Read the latest about new experiences and capabilities in the Power Automate product blog.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

AI Builder AMA June 7th carousel (up on May 25th, take down June 8th) (1).png

'Ask Microsoft Anything' about AI Builder!

The AI Builder team invite you to ask questions and provide helpful answers at our next AMA.

Users online (2,248)