
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2019 07:05 AM
Really simple answer i expect!
We have instances where a users email domain will change.
I want a business rule to fire when the email address changes to a specific domain and when it fires, it sets certain fields.
Using the filter conditions with a wild card
wont work?
Therefore would someone be able to assist in how I would write this as a query? Im not sure how a changes to "like" would work!
Thanks
Solved! Go to Solution.
- Labels:
-
Best Practices
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2019 07:38 AM
Just split it into two conditions:
Email changes AND
Email ends with XX
---
Or
Email matches pattern, matches regex, it depents how individual your email domains are.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2019 07:11 AM
There should be an option that says "Changes" that just tracks when a field changes to anything.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2019 07:18 AM
You would probably have to use an advanced Business Rule and in the Advanced Tab under condition you can use something like current.email.indexOf('yourdomainhere')>-1;
I'm not sure what actions you want to occur when the condition is met so if you need assistance with that, let me know.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2019 07:18 AM
Hi,
you can try to set your Filter condition:
Email changes to %gmail.com
If I have answered your question, please mark my response as correct and/or helpful so that others with the same question in the future can find it quickly and that it gets removed from the Unanswered list.
Thank you
Cheers
Alberto
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2019 07:20 AM
Hi,
You may try to set your Filter condition:
Email changes to %co.uk
If my answer helped you in any way, please then mark it as helpful/Correct