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 Automate
Answered

Variable

(0) ShareShare
ReportReport
Posted on by 254

Hello, I have Share Point list with a lot of columns. "Status" column is main column for decision (status can be "passed" or "not passed").  I want to save objects (I mean rows) where Status == "Not passed" in a variable and objects where Status == "Passed" in another variable". Because I will apply different actions on these objects, and these actions will depend on Status.

1) If data type of variables is correct? Should it be object in case when I save entire row?

Objects.png

2) I am using "Apply to each" so I am taking first row, if Status == "Passed" I want to add this row (object) in my list of objects, how can I do it?

Thank you

Categories:
I have the same question (0)
  • VictorIvanidze Profile Picture
    13,079 on at

    Use array instead of object.

  • Aleksandra1 Profile Picture
    254 on at

    Okay, and what's next? Thank you

  • VictorIvanidze Profile Picture
    13,079 on at

    Next? I hope you'll show me how you populate the arrays with "append to array" action...

  • Verified answer
    v-dezhili-msft Profile Picture
    Microsoft Employee on at

    Hi @Aleksandra1 ,

     

    Please try:

    vdezhilimsft_2-1672992302543.png

    vdezhilimsft_0-1672992195390.png

    vdezhilimsft_1-1672992231820.png

    vdezhilimsft_3-1672992401653.png

    vdezhilimsft_4-1672992428374.png

     

    vdezhilimsft_5-1672992448717.png

     

    Best Regards,

    Dezhi

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
David_MA Profile Picture

David_MA 250 Super User 2026 Season 1

#2
Expiscornovus Profile Picture

Expiscornovus 222 Most Valuable Professional

#3
Haque Profile Picture

Haque 174

Last 30 days Overall leaderboard