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 / flows are not working ...
Power Automate
Suggested Answer

flows are not working from dashboard

(2) ShareShare
ReportReport
Posted on by 22
When I run a flow from the dashboard, I see the status say downloading, then preparing, then running (runs for 2 seconds), then not running.
 
If I run the flow from the editor there are no issues, it works as expected.
 
Here is my flow . . . 
 
SET FolderPath TO $'''C:\\Users\\eyare\\Pictures\\Camera Roll'''
SET FolderPath2 TO $'''E:\\Tag_Images'''
Folder.GetFiles Folder: FolderPath FileFilter: $'''WIN*''' IncludeSubfolders: False FailOnAccessDenied: True SortBy1: Folder.SortBy.NoSort SortDescending1: False SortBy2: Folder.SortBy.NoSort SortDescending2: False SortBy3: Folder.SortBy.NoSort SortDescending3: False Files=> Files
LOOP FOREACH File IN Files
    SET FileName TO File.NameWithoutExtension
    Text.SplitText.SplitWithDelimiter Text: FileName CustomDelimiter: $'''_''' IsRegEx: False Result=> TextFileList
    Text.ConvertTextToDateTime.ToDateTimeCustomFormat Text: TextFileList[1] CustomFormat: $'''yyyyMMdd''' DateTime=> DateFormatted
    Text.ConvertDateTimeToText.FromCustomDateTime DateTime: DateFormatted CustomFormat: $'''yyyy''' Result=> strYear
    Text.ConvertDateTimeToText.FromCustomDateTime DateTime: DateFormatted CustomFormat: $'''MMM''' Result=> strMonth
    Text.ConvertDateTimeToText.FromCustomDateTime DateTime: DateFormatted CustomFormat: $'''dd''' Result=> strDay
    IF (Folder.IfFolderExists.Exists Path: $'''%FolderPath2%\\%strYear%''') THEN
        IF (Folder.IfFolderExists.DoesNotExist Path: $'''%FolderPath2%\\%strYear%\\%strMonth%''') THEN
            Folder.Create FolderPath: $'''%FolderPath2%\\%strYear%''' FolderName: strMonth Folder=> NewFolder
            IF (Folder.IfFolderExists.DoesNotExist Path: $'''%FolderPath2%\\%strYear%\\%strMonth%\\%strDay%''') THEN
                Folder.Create FolderPath: $'''%FolderPath2%\\%strYear%\\%strMonth%''' FolderName: strDay Folder=> NewFolder
            END
        END
    ELSE
        Folder.Create FolderPath: FolderPath2 FolderName: strYear Folder=> NewFolder
        Folder.Create FolderPath: $'''%FolderPath2%\\%strYear%''' FolderName: strMonth Folder=> NewFolder
        Folder.Create FolderPath: $'''%FolderPath2%\\%strYear%\\%strMonth%''' FolderName: strDay Folder=> NewFolder
    END
    File.RenameFiles.RenameReplaceText Files: File TextToReplace: $'''WIN''' ReplaceWith: $'''REG2''' IfFileExists: File.IfExists.DoNothing RenamedFiles=> RenamedFiles
    Folder.GetFiles Folder: FolderPath FileFilter: $'''REG2*''' IncludeSubfolders: False FailOnAccessDenied: True SortBy1: Folder.SortBy.NoSort SortDescending1: False SortBy2: Folder.SortBy.NoSort SortDescending2: False SortBy3: Folder.SortBy.NoSort SortDescending3: False Files=> Files2
    File.Move Files: Files2 Destination: $'''%FolderPath2%\\%strYear%\\%strMonth%\\%strDay%''' IfFileExists: File.IfExists.DoNothing MovedFiles=> MovedFiles1
END
  • Suggested answer
    trice602 Profile Picture
    16,699 Super User 2026 Season 2 on at
    Hi,
     
    Understood.  I rarely run anything from the dashboard itself, they always run better from the editor and is my recommended steps if you are running attended.  Of course, if you are running unattended, connect to a cloud flow and run on a VM or hosted but in attended mode with a manual start, I have never had success with runs directly from the dashboard.
     
    ------------------------------------------------


    ⭐ If this was helpful, please like and/or mark as a verified answer to help others find this too!


    Always glad to help! 💯💯💯💯💯

    Tom 

    Follow me on LinkedIn - Thomas Rice, PMP | LinkedIn

     

     
  • AnthonyAmador Profile Picture
    2,557 Moderator on at
    Hi, 
     
    Are you seeing an error message? Is PAD updated to the latest version? 
     
    Anthony. 
  • eyarea51 Profile Picture
    22 on at
    there are no errors!  PAD is is the latest
  • Riyaz_riz11 Profile Picture
    4,219 Super User 2026 Season 2 on at
    BLOCK test
    ON BLOCK ERROR
    END
        SET FolderPath TO $'''C:\\Users\\eyare\\Pictures\\Camera Roll'''
        SET FolderPath2 TO $'''E:\\Tag_Images'''
        Folder.GetFiles Folder: FolderPath FileFilter: $'''WIN*''' IncludeSubfolders: False FailOnAccessDenied: True SortBy1: Folder.SortBy.NoSort SortDescending1: False SortBy2: Folder.SortBy.NoSort SortDescending2: False SortBy3: Folder.SortBy.NoSort SortDescending3: False Files=> Files
        LOOP FOREACH File IN Files
            SET FileName TO File.NameWithoutExtension
            Text.SplitText.SplitWithDelimiter Text: FileName CustomDelimiter: $'''_''' IsRegEx: False Result=> TextFileList
            Text.ConvertTextToDateTime.ToDateTimeCustomFormat Text: TextFileList[1] CustomFormat: $'''yyyyMMdd''' DateTime=> DateFormatted
            Text.ConvertDateTimeToText.FromCustomDateTime DateTime: DateFormatted CustomFormat: $'''yyyy''' Result=> strYear
            Text.ConvertDateTimeToText.FromCustomDateTime DateTime: DateFormatted CustomFormat: $'''MMM''' Result=> strMonth
            Text.ConvertDateTimeToText.FromCustomDateTime DateTime: DateFormatted CustomFormat: $'''dd''' Result=> strDay
            IF (Folder.IfFolderExists.Exists Path: $'''%FolderPath2%\\%strYear%''') THEN
                IF (Folder.IfFolderExists.DoesNotExist Path: $'''%FolderPath2%\\%strYear%\\%strMonth%''') THEN
                    Folder.Create FolderPath: $'''%FolderPath2%\\%strYear%''' FolderName: strMonth Folder=> NewFolder
                    IF (Folder.IfFolderExists.DoesNotExist Path: $'''%FolderPath2%\\%strYear%\\%strMonth%\\%strDay%''') THEN
                        Folder.Create FolderPath: $'''%FolderPath2%\\%strYear%\\%strMonth%''' FolderName: strDay Folder=> NewFolder
                    END
                END
            ELSE
                Folder.Create FolderPath: FolderPath2 FolderName: strYear Folder=> NewFolder
                Folder.Create FolderPath: $'''%FolderPath2%\\%strYear%''' FolderName: strMonth Folder=> NewFolder
                Folder.Create FolderPath: $'''%FolderPath2%\\%strYear%\\%strMonth%''' FolderName: strDay Folder=> NewFolder
            END
            File.RenameFiles.RenameReplaceText Files: File TextToReplace: $'''WIN''' ReplaceWith: $'''REG2''' IfFileExists: File.IfExists.DoNothing RenamedFiles=> RenamedFiles
            Folder.GetFiles Folder: FolderPath FileFilter: $'''REG2*''' IncludeSubfolders: False FailOnAccessDenied: True SortBy1: Folder.SortBy.NoSort SortDescending1: False SortBy2: Folder.SortBy.NoSort SortDescending2: False SortBy3: Folder.SortBy.NoSort SortDescending3: False Files=> Files2
            File.Move Files: Files2 Destination: $'''%FolderPath2%\\%strYear%\\%strMonth%\\%strDay%''' IfFileExists: File.IfExists.DoNothing MovedFiles=> MovedFiles1
        END
    END
    ERROR => LastError
    Display.ShowMessageDialog.ShowMessage Message: LastError Icon: Display.Icon.None Buttons: Display.Buttons.OK DefaultButton: Display.DefaultButton.Button1 IsTopMost: False ButtonPressed=> ButtonPressed6



    Copy paste the code check in the display message are you getting any error or not, if no error then mostly the model empty while for each folder : C:\Users\eyare\Pictures\Camera Roll
    And also check folder filter as well.
     
    If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.
    Regards,
    Riyaz
     
  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at
    I'm a bit surprised by trice602 recommending to run flows from the designer - that's definitely not the way it's designed to be used. It definitely is supposed to work perfectly fine via the console/dashboard, and the designer is only there for building and debugging flows. Running it via the designer is so much slower.
     
    It is very likely there is either some sort of an issue with your flow, or it actually completes successfully, but some logic inside it makes it skip whatever you're expecting it to do. The first thing to do is add some error handling, like Riyaz suggested. If there are no errors, then review the actual logic. Try running it in the designer to debug, and see if it skips some of the conditions.
  • trice602 Profile Picture
    16,699 Super User 2026 Season 2 on at
    Hey there!
     
    I am following up on this post flows are not working from dashboard in this category power automate desktop from 08/15/2024.  I know the post is a little older, but it is a common question here so wanted to take a moment and follow-up. I see there have been 5 replies and 2 likes and asking if your question has been answered.  If so, please help the community out by completing one or more of the following actions!  Thanks in advance!
     
    Easy as 1-2-3 ‼️💯⭐😎🆒🙏
     
    1) Mark a reply as a verified answer - this is essential, and it helps others with the same general question find this thread. ✅
    2) You can also mark one of more replies as a verified answer.  Please take a moment and give the author credit for volunteering their time. ✌️
    3) Like one or more replies.  Kudos always greatly appreciated! 👍
     
    Pro tip:  if you found your own solution or workaround, feel free to add a reply to your own post and mark it as the solution too!  The goal is to get this thread marked with a verified answer by anyone that finds one or more replies helpful!
     
    Again, thanks in advance for reading and responding, always glad to help!  Tom 💯💯💯💯💯
  • trice602 Profile Picture
    16,699 Super User 2026 Season 2 on at
    If I can help with anything else please let me know or tag me in a future post, I enjoy reading and answering questions.  Always glad to help!  Tom 💯💯💯💯💯

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 377

#2
11manish Profile Picture

11manish 292 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 128

Last 30 days Overall leaderboard