0 votes

I'm using the Web Interface to create and edit records in AD. I have two 'fields' on the form for the attributes positionPrimarySupervisor and Manager. There is a property pattern for Manager and upon creation it will be populated with the value entered in positionPrimarySupervisor. My issue is that I also need it to populate when a user record is updated and the value in positionPrimarySupervisor changes, but I don't have the option in the property pattern dialog to indicate that it needs to "execute" on both create and edit like what is available for other property patterns. I'm attaching a screen capture below. Is there some other way for me to accomplish this easily.

(Manager Property Pattern dialog)

by (870 points)

1 Answer

0 votes
by (216k points)
selected by
Best answer

Hello,

Yes, you can do that, but instead of a Property Pattern, you need to use a Business Rule that will update the manager when the primary supervisor changes. To create such a rule:

  1. Create a new Business Rule.
  2. On step 2 of the Create Business Rule wizard, select User and After Updating a User.
  3. On step 3, add the Update the User action and click Add.
  4. In the Property to modify filed, select Manager.
  5. Select Update value and click the Browse button embedded in the New value field.
  6. Activate the Template tab and enter the following template: %positionPrimarySupervisor%.
  7. Click OK 3 times.
  8. Right-click the action you added and click Add Condition.
  9. Select If <property> changed.
  10. Select If Position Primary Supervisor has changed, where Position Primary Supervisor is the display name for the positionPrimarySupervisor attribute.
  11. Click OK.
  12. Finish creation of the Business Rule.

Related questions

0 votes
1 answer

I am searching for a good workflow for changing the manager field of users when there is a change in management. I was thinking of doing it based off job title. So I was ... of job titles so that would be ideal. Thanks for the help and the awesome product.

asked Oct 1, 2022 by Dynamic6553 (20 points)
0 votes
1 answer

How can I allow manager of distribution group to edit just email aliases (proxy addresess) of that group? Not the primary SMTP address.

asked Nov 19, 2019 by KIT (960 points)
0 votes
1 answer

Is is possible through Security Roles, or some other mechanism, to allow managers to be able to edit Active Directory data (through the Web Interface) for only their direct reports and no other users?

asked Mar 23, 2015 by yobhod (150 points)
0 votes
1 answer

My company has 400+ positions, each with different access levels in our Active Directory (AD). I want to automate the new user onboarding process as much as ... time-consuming than creating over 400 custom commands. Any assistance would be greatly appreciated.

asked Sep 26, 2023 by sysadmin (20 points)
0 votes
1 answer

Hi , I would like to know that is there any API service, where we can work on objects inside Adaxes tool? Preferbly REST API?

asked Nov 6, 2019 by Anil (20 points)
3,542 questions
3,233 answers
8,227 comments
547,808 users