0 votes

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 <Full Name> <does not contain> therapy" (Value is case-sensitive NOT checked) AND
"If <Full Name> <does not contain> 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)
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

0 votes
1 answer

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
0 answers

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
1 answer

In our environment, we have many business rules with "Add to group". Now I have to delete the "Add to group xyz" in all business rules, as the group is now rule-based. Is there ... in Adaxes so that I don't have to search for and delete all "Add to group xyz"?

asked Mar 7 by DRiVSSi (320 points)
0 votes
1 answer

Hello Community, I need, by script to get all Business Rules from a root container with recursive mode. $ns = New-Object "Softerra.Adaxes.Adsi.AdmNamespace" $service = $ns. ... need to have all object which are in child container. Someone could help me ? Thank

asked Aug 18, 2023 by npa (20 points)
0 votes
1 answer

Hello, We have some Create Business Rules with ifs and other actions. Now these have to be controlled by a third person who has no rights to the console. How can I export the ... to a .txt file? The TXT must contain the condition and the actions. Thanks a lot

asked Aug 10, 2023 by DRiVSSi (320 points)
3,589 questions
3,278 answers
8,303 comments
548,123 users