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 / Array item not matchin...
Power Automate
Answered

Array item not matching Condition

(0) ShareShare
ReportReport
Posted on by 2
Hello, I'm new to PA. 
I have created this flow (not complete, but trying to get through the Condition first.
 
 
The List Actions node returns an array, here is the first element:
    "body": {
        "count": 151,
        "next_link": "https://api.sky.blackbaud.com/constituent/v1/actions?status_code=Open&limit=5&sort_token=ew0KICAiRGF0ZSI6ICIyMDI2LTA0LTIzVDExOjA4OjQ1LjA3KzEwOjAwIiwNCiAgIklkIjogIjU4MDQxIiwNCiAgIkNvbHVtbiI6IDExLA0KICAiRGlyZWN0aW9uIjogMA0KfQ%3d%3d",
        "value": [
            {
                "id": "57998",
                "category": "Task/Other",
                "completed": false,
                "computed_status": "Open",
                "constituent_id": "68377",
                "date": "2026-05-09T00:00:00",
                "date_added": "2026-04-21T11:01:30.977+10:00",
                "date_modified": "2026-04-21T11:01:30.997+10:00",
                "fundraisers": [
                    "507193"
                ],
                "priority": "High",
                "status": "Open",
                "status_code": "Open",
                "summary": "Failed Recurring Gift",
                "type": "RG Failed"
            },
 
The Apply to Each action node is for "body/value" and returns the same output as above
 
The "Select Fundraiser ID" returns this:
 
As soon as I put the "Select Fundraiser" Output Item into the Condition, it adds the For Each above it (I renamed to For Each Fundraiser)
 
 
But this condition is Never met.
Can someone tell me why?
 
Thank you.
 
Categories:
I have the same question (0)
  • Verified answer
    David_MA Profile Picture
    14,398 Super User 2026 Season 1 on at
    Try one of these two methods instead:
    1. Wrap the Output Item dynamic content in an int() expression to return the value as an integer.
    2. Use an expression on the left that returns a Boolean. For example: equals(int(item()?['Value']), 507193) and then on the right side of the condition insert true from the expression builder.
     
    Even if a field represents a numeric ID, if it’s wrapped in quotes in JSON, Power Automate treats it as a string. You must either:
    1. convert it using int(), or
    2. compare it as a string
    Otherwise, the condition will never evaluate to true.

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 873

#2
Valantis Profile Picture

Valantis 822

#3
Haque Profile Picture

Haque 482

Last 30 days Overall leaderboard