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.
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.
@Fnu you can do it like this
if(contains(variables('yourStringVar'), 'breach') or contains(variables('yourStringVar'), 'breachs') or contains(variables('yourStringVar'), 'breaches'), 'True', 'False')
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')))
Hi @Fnu ,
does it fit your requirements:
or I misunderstood you?
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'?
Learn how to create your own user groups today!
Check out the new Power Platform Community Connections gallery!
Congratulations, the new Super User Season 2 for 2021 has started!
Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.
Explore the latest tools,training sessions,technical expertise, networking and more.