Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

How can I add a condition to a dynamic marketing list to only include phone numbers with 12 digits?

Posted on by 5

I currently have a dynamic marketing list which targets certain contacts in CRM. I want to restrict the list to only include contacts where the Mobile Number field contains 12 digits.

How can I restrict based on number of digits?

Is there a wildcard option within marketing lists that will allow me to specify the digits? I have tried ############, %%%%%%%%%%%% and ************ but these do not work as needed.

  • Suggested answer
    cloflyMao Profile Picture
    cloflyMao 25,198 on at
    RE: How can I add a condition to a dynamic marketing list to only include phone numbers with 12 digits?

    Hi Kate,

    Currently wildcard is not supported in Segment filters.

    A workaround is that you could build a custom plugin to calculate length of phone field, and set a custom boolean field to "Yes" if record meets the condition.

    Then we could easily find contact whose phone field contains 12 digits by the custom field value.

    Regards,

    Clofly

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans