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 / How to use a condition...
Power Automate
Unanswered

How to use a condition to check see if variable contains a period

(0) ShareShare
ReportReport
Posted on by

I am trying to add a condition to check to see if a variable contains a period character in the middle of the string value.  If it does, I don't want to use that value to lookup a record in Dynamics Sales.   I am currently using the following:

 

contains(variables('project number'), '.') is equal to true   
 
When I look at the results there is no rhyme or reason if it comes back as yes or no.  Anyone have a good way to check to see a variable contains a period? 
Categories:
  • Expiscornovus Profile Picture
    34,005 Most Valuable Professional on at

    Hi @123131231231231,

     

    Just to double check. Are you using a Condition action in your flow setup or are you talking about a OData query in a filter rows field in a List rows action?

     

    If you are talking about the first scenario can you try something like below.

    So, instead of using an expression in the project number just use the contains operator in the condition instead of is equal to.

     

    containsfirstscenario.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 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 321 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 244

#3
Henil Profile Picture

Henil 102

Last 30 days Overall leaderboard