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 not satisfie...
Power Automate
Answered

Condition not satisfied due to string/integer comparison

(2) ShareShare
ReportReport
Posted on by 2
Hi, I am trying to build a flow which, after getting an id (string) info from an API call, sends an email to a specific address.
 
In the condition, I included "if the value is equal to string(322) which is exacly the value I am looking for, but the condition is never satisfied, even the result of the API call contains the parameter.
 
JSON element:
If I change "is equal to" with "contains" in the condition, I get this error:
 
Unable to process template language expressions for action 'Condizione' at line '0' and column '0': 'The template language function 'contains' expects its first argument 'collection' to be a dictionary (object), an array or a string. The provided value is of type 'Null'.'.
 
What does it mean? It should be correct...
 
Thank you
Categories:
I have the same question (0)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,963 Moderator on at
    HI
     
    I am going to skip the null question because all the details aren't there to try to answer.
     
    Clearly the data you are comparing isn't matching even though you think they should. I dont know how any Address piece could just be that little number, but foreign countries possibly.
     
    So how do you check?
    add a Compose above your Condition
    In the Compose input add 3 things
    like this
    where the ugly black dash is a dash :-). Now you will see what two values you are comparing

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 816

#2
Valantis Profile Picture

Valantis 603

#3
Haque Profile Picture

Haque 566

Last 30 days Overall leaderboard