0 votes

For the action copy user, under object selection I choose objects selected by the user, copying from the user who gets the email. Location selection is the OU I want the new accout to be created in. When I do this, I see it copies over the properties from the source user. Is it possible to erase that automatically and reapply the property pattern?

by (270 points)

1 Answer

+1 vote
by (11.0k points)
selected by
Best answer

Hello,

Unfortunately, there is no possibility to clear the properties and reapply a property pattern when copying a user. Do we understand correctly that there is no need to copy any of the source user properties and you just need to be able to select the account that will be notified about the new account creation? If so, you can use the following approach. Instead of copying an existing user, you can use the Create user Web interface action with a customized form and a property pattern that will be effective for the location where new accounts are created. Then, on the Create user action form, you can add one of the following DN-syntax properties if they are not used in other workflows: secretary or assistant. The property will be used to select the account that will receive the email notification. To avoid confusions, you can change the property display name. In the business rule triggering After creating a user, you can check if the DN-syntax property is empty or not. If it is not, then send an email notification. In the Send email notification action, you can use a value reference to the calculated property that resolves into the email address of the account specified in the DN-syntax property: %adm-SecretaryEmail% or %adm-AssistantEmail%. The Send email notification action configuration should look like this: image.png

After the notification is sent, you can clear the DN-syntax property. Finally, the business rule configuration should look like this: image.png

0

I think this path is the best plan to move forward with. Thank you!

Related questions

0 votes
1 answer

My org has decided to create LDAP fields to replace some of the custom Adaxes fields. how can I copy the following fields? adm-CustomAttibuteDate1 > ldapDate1 adm-CustomAttibuteText1 > ... I need to be able to run the job for all user object in AD.

asked Sep 17, 2019 by hgletifer (1.3k points)
0 votes
1 answer

Is it possible to create a Home Page Action to copy group memebership from one user to another? (Already existing users)

asked May 5, 2014 by kjesoo (960 points)
0 votes
1 answer

On the Home page Action screen(Configure Home Page Actions), there are groups and actions under those groups. In the new version there is a COPY command if you right click( ... copied...but nothing ever gets pasted. Bug or am I doing something wrong. Thanks!

asked Jun 18, 2012 by mpaul (360 points)
0 votes
1 answer

I've looked at https://www.adaxes.com/script-repository/copy-group-membership-from-specified-user-s590.htm. is there away to change from group names to a group type? Like exclude all distribution groups?

asked Dec 4, 2023 by Derek.Axe (480 points)
0 votes
1 answer

Is it possible using PowerShell to copy group memberships from an already existing user without copying 2 specific groups named for example test and test 1 ? We are currently ... groups are not included. I can share the PowerShell script if needed. KR, Cas

asked Oct 30, 2023 by Cas (100 points)
3,339 questions
3,040 answers
7,758 comments
544,894 users