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 / Problem when I try to ...
Power Automate
Answered

Problem when I try to run UI Flow

(0) ShareShare
ReportReport
Posted on by 24

I created a UI flow using desktop app.

2020-09-26_11h18_59.png

When I run the flow from editor It's ok.

2020-09-26_11h19_24.png

It's a simple flow just to show a message.

When I close editor and try to run from the list i get the following message

2020-09-26_11h20_08.png

 

What I'm doing wrong???

I have the same question (0)
  • UdayAdhikari Profile Picture
    450 Most Valuable Professional on at

    That's strange! I just tried the same steps and it worked for me (see below). I would check if you have pop-up enabled. I am sure you have tried logging off and logging back in also PAD being in preview and its been couple of days since you posed the question may be a fix has been applied. Just give it try and let us know if you continue to experience issues.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Thanks

    PADMsgPopUp.png 

  • PetrosF-MSFT Profile Picture
    Microsoft Employee on at

    Hi @Sokg 

     

    You could try the following steps:

     

    1. Uninstall PAD from your machine (the app is installed as "UI flows")

    2. Delete the following folders 

    1. C:\Users\YourUserName\AppData\Local\Microsoft\PAD.Console.Host.exe_StrongName_*
    2. C:\Users\YourUserName\AppData\Local\Microsoft\PAD.Designer.Host.exe_StrongName_*
    3. C:\Users\YourUserName\AppData\Local\Microsoft\PowerAutomate
    4. C:\Users\YourUserName\AppData\Local\Microsoft\PowerAutomate.Desktop

    3. Install PAD again 

     

    Please check if the above resolves the issue.

     

    I hope it will be helpful!

     

  • Sokg Profile Picture
    24 on at

    Hi @PetrosF-MSFT 

     

    Tried your solution but no luck.

    My IT dept gave me all permissions.

     

    image.png

     

    Still have same problem.

    Error message is:

     

    Message = Value cannot be null.
    Parameter name: source
    Error = System.ArgumentNullException
    Full text = System.ArgumentNullException: Value cannot be null.
    Parameter name: source
    at System.Linq.Enumerable.OfType[TResult](IEnumerable source)
    at WinAutomation.Console.Application.Process.Commands.PrepareToStartProcessCommandHandler.CompileProcess(Process process, String directory) in D:\a\1\s\src\WinAutomation.Desktop\WinAutomation.Console\WinAutomation.Console.Application\Process\Commands\PrepareToStartProcessCommandHandler.cs:line 158
    at WinAutomation.Console.Application.Process.Commands.PrepareToStartProcessCommandHandler.<DownloadProcess>d__12.MoveNext() in D:\a\1\s\src\WinAutomation.Desktop\WinAutomation.Console\WinAutomation.Console.Application\Process\Commands\PrepareToStartProcessCommandHandler.cs:line 97
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at WinAutomation.Console.Application.Process.Commands.PrepareToStartProcessCommandHandler.<Handle>d__11.MoveNext() in D:\a\1\s\src\WinAutomation.Desktop\WinAutomation.Console\WinAutomation.Console.Application\Process\Commands\PrepareToStartProcessCommandHandler.cs:line 73
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at MediatR.Pipeline.RequestPostProcessorBehavior`2.<Handle>d__2.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at MediatR.Pipeline.RequestPreProcessorBehavior`2.<Handle>d__2.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at WinAutomation.Console.UI.ViewModel.ProcessItemViewModel.<Start>d__91.MoveNext() in D:\a\1\s\src\WinAutomation.Desktop\WinAutomation.Console\WinAutomation.Console.UI\ViewModel\ProcessItemViewModel.cs:line 160
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__6_0(Object state)
    at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
    at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

     

    Thanks

  • PetrosF-MSFT Profile Picture
    Microsoft Employee on at

    Hi @Sokg 

     

    Let's try one more solution:

     

    Please open the file "%LocalAppData%\Microsoft\PowerAutomate\config.json" and make sure that it points to a local directory. The default location should be "%UserProfile%\Documents\WAWorkspace".

     

    Then, please delete all the folders inside "%UserProfile%\Documents\WAWorkspace" and check if the issue persists.

     

    Thank you!

  • Sokg Profile Picture
    24 on at

    Hi @PetrosF-MSFT 

     

    I deleted the folders, but problem still here.

     

    I deleted all UI flows, I had created, and create a new one, but same message pop up again.

     

     

  • Sokg Profile Picture
    24 on at

    Any ideas???

  • PetrosF-MSFT Profile Picture
    Microsoft Employee on at

    Hi @Sokg 

     

    Could you let me know what is the exact version that you are using so that I could forward this to our developers?

  • Sokg Profile Picture
    24 on at

    My version is:

     

    image.png

    Thank you !!!

  • Verified answer
    PetrosF-MSFT Profile Picture
    Microsoft Employee on at

    Hi @Sokg 

     

    We were able to reproduce the issue by adding an invalid character like ' in the folder path of the WAWorkspace folder.

     

    Please open the file %LocalAppData%\Microsoft\PowerAutomate\config.json and check if there are any invalid parameters in the workspaceDirectory.

     

    Also note that we are currently working towards a fix.

     

    I hope the above helps!

  • Sokg Profile Picture
    24 on at

    Hi @PetrosF-MSFT 

     

    Thank you, thank you,thank you,thank you,thank you.

     

    That was the problem.

     

    I rename my user name, user folder name and change the value in registry and all good now

     

    Σε ευχαριστώ παρα πολυ για την προσπαθεια σου

    Thank you so much for your effort!!!

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