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:
  • VictorIvanidze Profile Picture
    13,083 on at

    Use array instead of object.

  • Aleksandra1 Profile Picture
    254 on at

    Okay, and what's next? Thank you

  • VictorIvanidze Profile Picture
    13,083 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 298 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 289

#3
Henil Profile Picture

Henil 125

Last 30 days Overall leaderboard