Adaxes Team,

I have a Business rule that creates an e-mail address for a user automatically after their account has been created, but we are trying to exclude users with specific words in their name (either the word "generic" or "therapy", regardless of case).

I was using two Conditions for this:
"If therapy" (Value is case-sensitive NOT checked) AND
"If generic" (Value is case-sensitive NOT checked)

However, accounts were still receiving Exchange mailboxes. The accounts have Full Names like "ACF Therapy1" and "ACF Therapy2" - so I suspect the "does not contain" needs to have an exact match on the text rather than being a partial match, and the numbers at the end were throwing it off.

So, I'm changing to "Does not match regexp" -- is the regexp search case-sensitive or case-insensitive?
If it's not sensitive, I should just be able to match on .*generic.* and .*therapy.*
If it is case-sensitive though, I think I'll have to go for .*[Gg][Ee][Nn][Ee][Rr][Ii][Cc].* and similar for therapy, correct?

by (260 points)
by (310k points)
0

Hello,

Actually, the conditions should work exactly as intended. No need for an exact match as you stated. Could you post here or send us (support[at]adaxes.com) a screenshot of the Business Rule you are currently using?

Please log in or register to answer this question.

Related questions

Is is possible to have complex conditions or groups f conditions in business rules? For example, We want to send for approval if any of these attributes are updated AND it ... one attribute changed. Any suggestions on how to accomplish what I am looking to do?

asked Mar 10, 2021 by techg (320 points)
0 votes
1 answer

Hi We are running version 2017.2 on Windows 2012 R2. We have a complicated setup at the moment with o365 and on premise Exchange as well as different companies with ... existing rules to run after enabling a user instead of after moving a user? Thanks Matt

asked Jan 3, 2018 by chappers77 (2.0k points)
0 votes
0 answers

I'm trying to rearchitect my Business Units, and I'd like to see if I can export the rules on the current business units in a simple format so I can reorganize them and create new ones. Or at least get the rules and go from there.

asked 2 days ago by ajmilic (150 points)
0 votes
1 answer

Hi team, I hope you are doing well. Do you happen to have a ready-to-use script or solution to export business units and their criteria? I need to find business units where a specific OU is configured to include members of that OU or its sub-OUs. Thanks

asked Feb 18 by wintec01 (2.6k points)
0 votes
1 answer

I have created two business rules: Do not enforce password change after self service Enforce password change after restting password of a user For some reason, when I self reset ... any business rule. I can't find any Operation that is "Change own password"

asked Oct 25, 2025 by apruitt (560 points)
0 votes
1 answer