0 votes

Hi

This stores the old name correctly.

This stores the new name, even though it fires "Before" renaming the group ?

How do I store the old name for the group ?

I'm currently renaming the objects from the Console, but later on - renaming these objets will be done from the WebUI too.

- Thanks

by (2.6k points)

1 Answer

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

Hello,

You can use the following script instead of the standard action:

$Context.TargetObject.Put("adm-CustomAttributeText30", $Context.TargetObject.Get("name"))
$Context.TargetObject.SetInfoEx(@("adm-CustomAttributeText30"))

To add the script to your rule, use the Run a program or PowerShell script action.

Related questions

0 votes
1 answer

I need a specific user, when requesting another user to join a group, to have an approval sent to the AD management team. I tried to create a "Business Rule", but I'm getting an "Access Denied" error. Any idea what this could be?

asked Aug 20 by fgmello (40 points)
0 votes
1 answer

Just recently upgraded to 2018.1 When I create a new user from a user template, it's not working correctly. I created a user called Sams Club. And look at the image ... User Creation" business rule. When I don't use a template everything works fine though.

asked Jul 22, 2018 by rurbaniak (1.5k points)
0 votes
1 answer

Hi! Can ADAxess be used to populate a AD group with computer objects who's name partly matches a AD username from another group? I'e let say we have a group named ' ... channel until problem is solved by just adjusting which group they belong to .... /Kaj

asked Jun 12, 2018 by KajLehtinen (650 points)
0 votes
1 answer

Hello, A year ago, in a previous ticket, I inquired about the possibility of mandating that Adaxes users enter a ticket number before adding a member to a ... automatic business rules that facilitate the addition/removal of members from groups. Regards, Fabian

asked Jul 16 by fabian.p (380 points)
0 votes
1 answer

Hi team, I would like to add an action of having an input of Helpdesk Users, before adding someone to a group. I tried to create business rule, running "before ... very helpful: https://www.adaxes.com/questions/877/custom-scripts-user-input-at-running-time

asked May 17 by wintec01 (1.5k points)
3,552 questions
3,242 answers
8,243 comments
547,828 users