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 / If or Switch Statement?
Power Automate
Unanswered

If or Switch Statement?

(0) ShareShare
ReportReport
Posted on by 3,276

Hi there.

I am looking for some advice here.

I am not a flow expert and it took me months to build this flow.

Basically I have an app where I send push notifications based in the app selected in powerapps using the PowerApps por makers connector.

 

Now, the flow will check the list of the users and is there is any security group and get everybody email address then it sends the push notifications.

 

The app works fine but if in the app there is no security group then I get the flow fail.

 

How Can I implement an IF condition or switch statement here?

 

Thanks in advance for any help/

sajarac_0-1643909146684.png 

sajarac_1-1643909158415.png

sajarac_2-1643909168462.png

 

 

 

 

Categories:
I have the same question (0)
  • jinivthakkar Profile Picture
    4,187 on at

    @sajarac have you check run after condition, you can proceed ahead even with an action failed, check this out 

    https://creospark.com/configure-run-after-in-microsoft-power-automate#:~:text=To%20start%2C%20you%20can%20configure,the%20options%20or%20multiple%20options.

     

    --------------------------------------------------------------------------------

    If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

  • Sajarac Profile Picture
    3,276 on at

    Thank you very much for your prompt response, I just did it and I get this:

    The 'inputs.parameters' of workflow operation 'Get_group_members_2' of type 'OpenApiConnection' is not valid. Error details: The resolved string values for the following parameters are invalid, they may not be null or empty: 'id'

     

     

  • jinivthakkar Profile Picture
    4,187 on at

    @sajarac so run after won't work in your case as the next steps are getting null values, so you need to add an if condition and check if the values are not null and then process the flow

     

    --------------------------------------------------------------------------------

    If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 304

#2
David_MA Profile Picture

David_MA 245 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 243 Most Valuable Professional

Last 30 days Overall leaderboard