0 votes

I am trying to set a business rule to ask me who to email after creating an account. I have it set to the manager field right now but most of the time the manager will not want this email. Or any other way I can send an email to a selected user after the account has been created. Thanks for the help

by (420 points)

1 Answer

0 votes
by (215k points)


To achieve what you want, you can add an extra property to the page that is used for creating users. This property will be used to specify the email of the user who should receive the e-mail. Also, you'll need to create a Business Rule triggered after creating a user that will email the information you need to the address specified in the property. For this purpose, you can use one of Adaxes virtual properties that can store text (string) values, for example, CustomAttributeText1. Such properties are not stored in AD, but can be used as any other properties of AD objects. To implement such a solution:

I. Add a Virtual Property to the Page for Creating Users

For information on how to add a property to the page for creating users, see Step 6 in the following tutorial: http://www.adaxes.com/tutorials_WebInte ... diting.htm.

II. Create a Business Rule for Sending Emails after a User is Created

To create a Business Rule that automatically sends emails to the user specified in the virtual property, you can create a Business Rule as follows:

  1. Create a new Business Rule.
  2. On the 2nd step of the Create Business Rule wizard, select User and After Creating a User.
  3. On the 3rd step, ad the Send e-mail notification action.
  4. To send emails to the e-mail address specified by the virtual property, you need to insert a value reference for the virtual property you chose. For example, if you chose to use CustomAttributeText1, use %adm-CustomAttributeText1%.

III. Optional Tasks

  • To disallow creating users without specifying an email to send a notification to, you can, for example, make the virtual property required. For information on how to make a virtual property required, see the following tutorial: http://www.adaxes.com/tutorials_Simplif ... Format.htm.
  • Since a name like CustomAttributeText1 won't tell much your users about the meaning and the function of the property, you'll probably want to give it your own name. For information on how to do that, see the following help article: http://www.adaxes.com/help/?HowDoI.Mana ... Names.html.

Related questions

0 votes
1 answer

We'll be updating over 14K accounts with data (adding data to a virtual attribute) using a scheduled task but I don't want the updates to trigger Business Rules and flood the Adaxes log with entries. Is there an easy way to prevent this?

asked Apr 12 by sandramnc (790 points)
0 votes
0 answers

Hi, I'm trying to create a business rule that basically says if a user is a member of group a, they can't be a member of group b. Optionally would also like to ... removed from group a. Can i get some guidance on how I could accomplish this in adaxes?

asked Mar 14 by blaiseb (120 points)
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 (240 points)
0 votes
1 answer

I'd like to be able to either send an email report or export a CSV of all of the business rules carried out when a user is disabled. This would be ... Management Activity section but this includes things that weren't part of the disable operation. Thanks

asked Feb 19, 2020 by bavery (250 points)
0 votes
0 answers

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 ... [Gg][Ee][Nn][Ee][Rr][Ii][Cc].* and similar for therapy, correct?

asked Jun 5, 2018 by bradenmcg (260 points)
2,756 questions
2,490 answers
1,458,851 users