web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Flow condition applied...
Power Automate
Unanswered

Flow condition applied to variation of a word

(0) ShareShare
ReportReport
Posted on by

Dear all, 

 

I want to apply a flow condition to look for all words that contain specific root word instead of writing each word separately in a condition e.g. for Breach, I want to look for breach, breaches, breached in the same condition. 

 

Is this possible using flow? 

 

Please let me know if I need to be more clear. 

 

Best,

Annie

Categories:
I have the same question (0)
  • ChristianAbata Profile Picture
    8,951 Most Valuable Professional on at
    Re: Flow condition applied to variation of a word

    hi @Anonymous  you can use conditions like this

     

    cond.PNG

  • Community Power Platform Member Profile Picture
    on at
    Re: Flow condition applied to variation of a word

    @ChristianAbata 

     

    Thank you for your response. That's how I am doing it currently, but I want to avoid creating too many conditions. I was wondering if I could use a single condition instead of creating more than one. 

  • VictorIvanidze Profile Picture
    13,058 on at
    Re: Flow condition applied to variation of a word

    @contains(variables('yourStringVar'), 'breach')

  • ChristianAbata Profile Picture
    8,951 Most Valuable Professional on at
    Re: Flow condition applied to variation of a word

    @Anonymous  you can do it like this

     

    if(contains(variables('yourStringVar'), 'breach') or contains(variables('yourStringVar'), 'breachs') or contains(variables('yourStringVar'), 'breaches'), 'True', 'False')
  • VictorIvanidze Profile Picture
    13,058 on at
    Re: Flow condition applied to variation of a word

    Hi @ChristianAbata,

     

    if(contains(variables('yourStringVar'), 'breach') is true then 2 other "contains" are useless.

     

  • ChristianAbata Profile Picture
    8,951 Most Valuable Professional on at
    Re: Flow condition applied to variation of a word

    oh shure @VictorIvanidze  I made a mistake is like you can use if inside if like this

     

    if(contains('Breach, breahed, breahred','Breach'),'Yes',if(contains('Breach, breahed, breahred','breahed'),'Yes',if(contains('Breach, breahed, breahred','breahred'),'Yes','No')))
  • VictorIvanidze Profile Picture
    13,058 on at
    Re: Flow condition applied to variation of a word

    Hi @Anonymous ,

     

    does it fit your requirements:

     

    @contains(variables('yourStringVar'), 'breach')

     

    or I misunderstood you?

  • Community Power Platform Member Profile Picture
    on at
    Re: Flow condition applied to variation of a word

    Hi @VictorIvanidze ,

     

    A little confused as to where this will be entered. 

     

    Currently, I am looking for variables of breach in a sharepoint 'Title' field and because flow is case sensitive I'm turning all the string to lower case. 

     

    Where am I supposed to enter the text you've mentioned? is it in the right box? what am I supposed to enter for 'yourStringVar'?Screenshot_1.jpg 

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 497 Moderator

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 477 Super User 2025 Season 2

#3
chiaraalina Profile Picture

chiaraalina 242

Last 30 days Overall leaderboard