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 / Condition - does this ...
Power Automate
Answered

Condition - does this array contain that string?

(0) ShareShare
ReportReport
Posted on by 90

Hi,

 

In an Apply To Each loop, I want to know if 'x task list' contains title by the name of 'name of task.' We will increment through all 40 variables (based on an Excel tables' rows), and I want to know if any of these 40 entries (tasks) exist on their respective Task Lists.

 

I CAN pull all tasks from the 'x task list' once for each increment. Then, I filter out completed tasks so we are only left with active tasks.

 

NEXT, I WANT TO check if my current item in the Apply to Each loop is contained within this 'x task list.'

 

List tasks and filtering them results in an ARRAY. I want to know if 'x task list' contains my current Apply to Each item's TITLE.

 

I can clearly see the outputs of 'x task list' and how it does include that task. YET, my CONDITION is not recognizing this.

 

I figure my issue is with the condition, but who knows. Please advise. 

 

rnavrot_0-1661365109489.png

 

createarray is from the Filter Array 4 output. The Condition says [does output of filter 4, in array form, contain the 'name of task' as indicated by the current item in the Apply to Each?].

 

Next, run history.

 

rnavrot_1-1661365269077.png

 

 

My CreateArray output CLEARLY has 'block - rr update' in it. Yet, my condition rings 'false.' Next, my Flow creates a task with that title, because the condition is false. Intentionally, the condition should ring 'true' in this case.

 

Thoughts? How can I access only the 'title' field in the array, comparing my 'name of task' to all titles?

-R

Categories:
I have the same question (0)
  • Verified answer
    Ryan N Profile Picture
    90 on at

    To answer my own question, I found my answer here: https://powerusers.microsoft.com/t5/General-Power-Automate/How-to-validate-if-a-item-exists-in-array-of-objects/td-p/1212407

     

    ...like so.

     

    rnavrot_0-1661369535353.png

     

     

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 419

#2
Vish WR Profile Picture

Vish WR 314

#3
David_MA Profile Picture

David_MA 260 Super User 2026 Season 1

Last 30 days Overall leaderboard