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 / Issue with wildcards *
Power Automate
Answered

Issue with wildcards *

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi All,

 

Has anyone else had difficulty with wildcards in PAD?

 

I'm trying this in the screenshot below and it's just not working for me!

 

Cheers!

 

Ashleypettit1_0-1690764635000.png

 

 

  • Verified answer
    Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    Not every action in PAD accepts wildcards. If it does, it will usually be noted in the description of the action. The If action does not.

    To do what you want to do, you would need to use an AND operand with several conditions. Try the following code (you can copy and paste this directly into PAD):

    IF Contains(ThingToSearch,$'''Apples''',False) AND Contains(ThingToSearch,$'''Kewi''',False) = True THEN
     #do something here
    END

     

    Alternatively, if Contains is not what you want, you can also use StartsWith and EndsWith like this:

    IF StartsWith(ThingToSearch,$'''Apples''',False) AND EndsWith(ThingToSearch,$'''Kewi''',False) = True THEN
     #do something here
    END

    -------------------------------------------------------------------------
    If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.

    I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thanks for the solution! I’ll use this.

     

    as a product note I’d love for wildcards to be supported basically anywhere

  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    Yeah, I guess that would make our lives a bit easier for sure, but is likely not very easy to implement. Anyhow, if I have solved your issue, please mark my answer as the solution to the topic. Thank you.

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 243 Super User 2026 Season 2

#2
David_MA Profile Picture

David_MA 211 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 190

Last 30 days Overall leaderboard