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 Apps / send notification bar ...
Power Apps
Answered

send notification bar when sharepoint list is empty

(0) ShareShare
ReportReport
Posted on by 566

I have an automate flow which moves all attachments of a sharepoint list to a specific folder on my sharepoint documents.

After this the records of my sharepoint list are deleted.

The formula i use to trigger my flow is:

 

 

forAll(galListData.AllItems;DownloadattachmentList.Run(ID));;Notify(
 "files moved successfully";
 NotificationType.Success;
 3000
 )

 

 

The issue i have is that when  i receive the notification "Files moved successfully, depending of the number of files to be moved ad the internet speed only some files have been completely moved.

is there a way to send notification when the the sharepoint list is completely empty and files compltely moved?

Categories:
  • v-mengmli-msft Profile Picture
    Microsoft Employee on at

    Hi @Sormick ,

     

    Assuming that removing file in "Apply to each", you can set "Respond to a Power App or a flow" after the "Apply to each". Then add an output and set "Respond to a Power App or a flow" run after last action success.

    vmengmlimsft_0-1717487228538.png

    At last, use If function in your formula.

    forAll(galListData.AllItems;If(DownloadattachmentList.Run(ID).success="true";Notify(
     "files moved successfully";
     NotificationType.Success;
     3000
     ))

    Here is a detailed blog about above method for your reference. Notify users in Power Apps when a flow has run successfully - Low Code Lewis (lewisdoes.dev)

     

     

    Best regards,

    Rimmon

  • Sormick Profile Picture
    566 on at

    Dear @v-mengmli-msft ,

     

    Sorry I did not find this window below:

     

    1.jpg

    Did i forgot something?

    Please find my flow Below. When i trigger my flow i get this message error: " The workflow run action 'Répondre_à_une_Power_App_ou_un_flux' has type 'Response' that could not be nested under an action of type 'foreach'. »."

    1.jpg

     

     

     

  • Verified answer
    v-mengmli-msft Profile Picture
    Microsoft Employee on at

    Hi @Sormick ,

     

    This is because I am using classic designer, please click the action and you will find it in Settings in new designer.

    vmengmlimsft_0-1717572386465.png

     

     

    Best regards,

    Rimmon

  • Sormick Profile Picture
    566 on at

    Thank you!

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 Apps

#1
11manish Profile Picture

11manish 243 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 204 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 122

Last 30 days Overall leaderboard