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 Apps - Building Power Apps
Answered

send notification bar when sharepoint list is empty

(0) ShareShare
ReportReport
Posted on by 516

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
    516 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
    516 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 671 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 424 Super User 2025 Season 2

#3
developerAJ Profile Picture

developerAJ 243

Last 30 days Overall leaderboard