Hello,

I'm trying to setup a business rule that will send an email to the user when they are added to a group.

Under the User Object I don't have an option to Launch the rule after the user has been added to a group

Under the Group Object I do have the ability to send an email when a member is added to the group but when I set it to send an email the %mail% variable is looking at the email address on the group, not on the new group member.

Is there a variable I can use or some other way to get the new group member's email address so I can send a notification to it?

Thanks!

by (810 points)

1 Answer

by (216k points)
Best answer
0 votes

Hello Drew,

You need a Business Rule triggered on group objects, because when adding a user to a group, you modify the group, not the user. In particular, you add the user's DN to the Members property of the group.

There are no value references for the email of a new group member, so you will need to send mail using a script. We actually have such a script in our Script Repository. See Notify user of being added to a group.

by (810 points)
0

Thanks for the help!

Related questions

I need a way of triggering a business rule based on the user (and not the group) being added or removed from a group. The reason I would like this triggered on the user is so ... prefer not to do that. I am checking to see if there is another way to do this.

asked May 16, 2023 by mark.it.admin (2.3k points)
0 votes
1 answer

Hello, Is there a way to send an email notification when a user is added to a group dynamically (with LDAP filter) , it's work only when i add the user manually Thank you

asked Jun 30, 2021 by GG (70 points)
0 votes
1 answer

Hello, I'm evaluating the use of Adaxes at my organization, where on a weekly basis we have users changing positions, and require (among other things that Adaxes appears to be capable ... are destined to go to, and a date for this action to happen on? Thanks!

asked Dec 2, 2015 by jduketow (50 points)
0 votes
1 answer

We have a 3rd party vendor that we are able to add users based on AD security groups. What I need to do is set a parameter for the number of available licenses and whenever ... the group is 495 I would like an email to trigger telling me to add more licenses.

asked Oct 12, 2022 by A_Pastor (70 points)
0 votes
1 answer

Hello all, I'm trying to send an email to an O365 private group after a user account has expired. I'm currently able to send to single users, but whenever I specify ... , and the adaxes log shows no errors. Any pointers would be greatly appreciated. Thank you!

asked Aug 12, 2021 by lw.fa (150 points)
0 votes
1 answer