Skip to main content

Notifications

Power Automate - General Discussion
Answered

Switch based on data or no data returned

(0) ShareShare
ReportReport
Posted on 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
    da1ve 340 on at
    Re: Switch based on data or no data returned

    @v-jefferni 

    Champion! Thank you

  • Verified answer
    v-jefferni Profile Picture
    v-jefferni on at
    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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

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

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,508

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,839

Leaderboard