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

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / send notification bar ...
Power Apps
Unanswered

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:
I have the same question (0)
  • v-mengmli-msft Profile Picture
    on at
    Re: send notification bar when sharepoint list is empty

    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
    Re: send notification bar when sharepoint list is empty

    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
    on at
    Re: send notification bar when sharepoint list is empty

    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
    Re: send notification bar when sharepoint list is empty

    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 836 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 231 Super User 2025 Season 2

Last 30 days Overall leaderboard