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 / Issue with Notify Succ...
Power Apps
Answered

Issue with Notify Success message not displaying

(0) ShareShare
ReportReport
Posted on by 576

I have an app where the user can email an html version of the form to themselves using an Automate flow. On the button, my code is 

If(varShowPopup=true And varApps=true,
LicenseEstimate.Run(User().Email,htmlPAPerUser.HtmlText & htmlPAPerApp.HtmlText).success="True",
varShowPopup=true And varAutomate=true,
LicenseEstimate.Run(User().Email,htmlPAutoPerUSer.HtmlText & htmlPAutoRPA.HtmlText).success="True",
Notify("Data submitted succesfully",NotificationType.Success,2000),
Notify("Error occurred, please contact your administrator",NotificationType.Error,5000)
);

 

My problem is that the Notify message never displays. Any thoughts? I have a respond to Power Apps step in my flow.

 

ahhollan_0-1676486150342.png

 

Categories:
I have the same question (0)
  • LaurensM Profile Picture
    12,516 Moderator on at

    Hi @ahhollan,

     

    Could you try the code below:

    If(
     If(
     varShowPopup=true And varApps=true,
     LicenseEstimate.Run(User().Email,htmlPAPerUser.HtmlText & htmlPAPerApp.HtmlText),
     varShowPopup=true And varAutomate=true,
     LicenseEstimate.Run(User().Email,htmlPAutoPerUSer.HtmlText & htmlPAutoRPA.HtmlText),
     ).success = "True"
     Notify("Data submitted succesfully",NotificationType.Success,2000),
     Notify("Error occurred, please contact your administrator",NotificationType.Error,5000)
    )

     

    If this solves your question, would you be so kind as to accept it as a solution.

    Thanks!

  • ahhollan Profile Picture
    576 on at

    I get an 'expected operator' error code.

  • LaurensM Profile Picture
    12,516 Moderator on at

    @ahhollan 

     

    My apologies, I should have proofread my code. Some commas were out of place:

    If(
     If(
     varShowPopup=true And varApps=true,
     LicenseEstimate.Run(User().Email,htmlPAPerUser.HtmlText & htmlPAPerApp.HtmlText),
     varShowPopup=true And varAutomate=true,
     LicenseEstimate.Run(User().Email,htmlPAutoPerUSer.HtmlText & htmlPAutoRPA.HtmlText)
     ).success = "True",
     Notify("Data submitted succesfully",NotificationType.Success,2000),
     Notify("Error occurred, please contact your administrator",NotificationType.Error,5000)
    )

     

    I hope this helps!

  • ahhollan Profile Picture
    576 on at

    Now, only the error message displays, even when the flow runs successfully.

  • Verified answer
    LaurensM Profile Picture
    12,516 Moderator on at

    Hi @ahhollan,

     

    According to your screenshot of the flow, you are always sending False and True as a response.

    You probably only want to send false if the flow fails, in this case you will have to adjust the 'Run After' condition of the False response.

     

    This blog post shows you how to adjust the Run After condition.

     

    I hope this helps!

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 326 Most Valuable Professional

#2
11manish Profile Picture

11manish 168

#3
sannavajjala87 Profile Picture

sannavajjala87 75 Super User 2026 Season 1

Last 30 days Overall leaderboard