cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
datedlime
Regular Visitor

Case Sensitive Conditions

What is a good expression to replace all of these "or" conditions below? I want the words "company credit card" or "company cc" to trigger yes regardless of case. Thank you!

datedlime_0-1616700227809.png

 

1 ACCEPTED SOLUTION

Accepted Solutions

On the left side you must enter the 'Body' dynamic content into the toLower(...) expression. Copy/paste the 'Body' dynamic content into a text editor, remove the leading @{ and closing } and then use that string in the toLower(...) expression. In the end it should look similar to this:

toLower(triggerOutputs()?['body/body'])

 



[ If I have answered your question, please Accept the post as a solution. ]
[ If you like my response, please give it a Thumbs Up. ]

[ I also blog about Power Automate solutions even for non-IT people. ]

View solution in original post

3 REPLIES 3
tom_riha
Super User II
Super User II

Hello @datedlime ,

you use toLower(...) expression to format everything in lower case. On both sides of the condition. 



[ If I have answered your question, please Accept the post as a solution. ]
[ If you like my response, please give it a Thumbs Up. ]

[ I also blog about Power Automate solutions even for non-IT people. ]

I am not sure what you mean. I am very new to this. On the left side I tried using 

toLower(body)

but it says it's invalid. On the right side I tried using 

toLower('company credit card')

but it completes the flow case sensitive still.

datedlime_1-1616703911585.png

 

On the left side you must enter the 'Body' dynamic content into the toLower(...) expression. Copy/paste the 'Body' dynamic content into a text editor, remove the leading @{ and closing } and then use that string in the toLower(...) expression. In the end it should look similar to this:

toLower(triggerOutputs()?['body/body'])

 



[ If I have answered your question, please Accept the post as a solution. ]
[ If you like my response, please give it a Thumbs Up. ]

[ I also blog about Power Automate solutions even for non-IT people. ]

View solution in original post

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (2,237)