Skip to main content

Notifications

Community site session details

Community site session details

Session Id : MVzhG5HZg3mKuDDhURDNWT
Power Automate - General Discussion
Answered

Switch based on data or no data returned

Like (0) ShareShare
ReportReport
Posted on 3 Nov 2022 05:31:20 by 340

Hey guys,

 

I am looking for a way to operate a switch command based on whether an action returns data or not.

 

Data returned:

 

da1ve_1-1667453264312.png

 

No data returned:

 

da1ve_0-1667453239515.png


How would I go about doing that?

Thanks,
David

 

  • da1ve Profile Picture
    340 on 03 Nov 2022 at 08:13:38
    Re: Switch based on data or no data returned

    @v-jefferni 

    Champion! Thank you

  • Verified answer
    v-jefferni Profile Picture
    on 03 Nov 2022 at 06:54:37
    Re: Switch based on data or no data returned

    Hi @da1ve ,

     

    You can use a Condition control, use length function to check the outputs of the specific action

    vjefferni_1-1667458463278.png

     

    Best regards,

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

Thomas Rice – Community Spotlight

We are honored to recognize Thomas Rice as our March 2025 Community…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,508 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,440 Most Valuable Professional

Leaderboard
Loading started
Loading complete