web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Getting Issues while R...
Power Automate
Unanswered

Getting Issues while Running Power Automate Desktop flow in Unattended Mode

(0) ShareShare
ReportReport
Posted on by 4

We are trying to Run a Power Automate Desktop Flow in Unattended Mode, but the Flow is getting issues on a particular action. 

When we are running the same code in attended mode, it is running without any issues.

 

In unattended mode, an UI Element for wait window inside the Java Based Application is causing the issue where the bot stops on wait for window action randomly after working on few transactions. 

We tried replacing this wait for window action with a loop to check if the required UI Element appears after the wait window is closed. In that logic also, the bot is not able to get out of the loop.

 

What might be causing this issue in Unattended Run mode?

I have the same question (0)
  • Jeff_VS Profile Picture
    18 on at

    Hi Devansh
    I am assuming this is running on a VM (AWS?, Azure?, other?), If there is a gold image or server already created, have you checked Java is correctly configured as indicated in below article?
    Automate Java applications - Power Automate | Microsoft Learn

  • NathanAlvares24 Profile Picture
    1,714 Moderator on at

    Hi @DevanshRohilla !

     

    This could be an issue with resolution mode in unattended mode.

     

    Refer to this solution in this post and see if this works: https://powerusers.microsoft.com/t5/Power-Automate-Desktop/Unattended-mode-not-working/m-p/2594706#M36590 

     

    I hope this helps.

  • DevanshRohilla Profile Picture
    4 on at

    Hi Jeff

    Yes, the flow is running in AWS VM. In this MS Documentation, it is written that "Java Access Bridge" should be disabled. It was disabled by default on the VM and once I tried running in unattended mode after enabling it.

     

    After enabling it, the bot was not able to perform even on the Java elements on which it was working earlier. 
    So, I reverted back the changes and now it is still not able to work on any Java element in unattended mode.

     

    What might have happened after enabling it that it is now not able to work on the elements on which it was able to work on earlier?   

  • DevanshRohilla Profile Picture
    4 on at

    Hi @NathanAlvares24,

     

    Thankyou for you help.

    I already tried setting up the resolution from the config file for unattended mode. But it did not solve the issue.

     

    Is there any other possible issue which might be the cause for it?

     

  • Jeff_VS Profile Picture
    18 on at

    Something similar happened to me, after upgrading PAD to latest version Java stopped working. No single field/object was being recognized as selector. So, I made sure Java Bridge was disabled and ran this .exe as Administrator "C:\Program Files (x86)\Power Automate Desktop\PAD.Java.Installer.exe" then I restarted the VM and it worked again. Perhaps you can try that.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 796

#2
Valantis Profile Picture

Valantis 568

#3
Haque Profile Picture

Haque 538

Last 30 days Overall leaderboard