0 votes

Hello all,

We have a situation where HR would like to schedule Title/Dept/Manager changes. I believe I have figured out the title/dept scheduling by using custom date and text to compare to the current and replace when the cust date is later than the current date. What I'm having trouble with is scheduling manager changes. It would be great and easy if each dept had only one manager (if this dept then this manager), but unfortunately every dept has multiple managers. Anyone have any advice on how to make something like this work? Is it even possible? I have some powershell knowledge, but not a veteran by any means.

Thanks,

Brian

by (50 points)

1 Answer

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

Hello Brian,

Sorry for the confusion, but we are not sure what exactly you mean by multiple managers. The Manager property is single-valued. As such, you can preserve the DN f the manager in a custom command and then set it when time comes in a scheduled task like you did for title and department.

Custom command image.png Scheduled task image.png If that does not work for you, please, describe the desired behaviour in all the possible details with live examples.

0

Hi, thanks for the quick reply. Hopefully this will explain a little better. Currently we have a page created for changing the job title, the department, and manager. The field for job title selection is a text input box that stores the value directly to Job Title attribute. The selection for department is a drop down menu with a specific set of options to choose from that I have set in the User Pattern properties. The manager selection is a search/selection of all users in a specific OU (see first screenshot). This all works great for changing any/all of those properties immediately. I would like to be able to add a date selection box, so if that date is in the future, it will make the changes accordingly. I'm guessing this is done with a scheduled task. What I'm having trouble with is how to select the manager and schedule that change. This is the current setup where we select all the appropriate items and it immediately makes the changes: Example title-dept-mgr change

Here is how I have setup the department change schedule as well as the title change schedule: Dept Change Scheduled Task Title Change Scheduled Task

I'm just not seeing a way to be able to pick a new manager from the AD/OU search/selection and store that for scheduling. Hopefully that makes a little more sense. And maybe I'm going about this in the wrong way.

0

Hello,

As we mentioned in the previous post, you need to use a custom command with two parameters:

  • AD object picker for selecting the new manager
  • Date/time picker for selecting the date when to apply the new manager

A scheduled task cannot be used to make user entries. We provided a screenshot of the resulting custom command and scheduled task in the above reply. For details on creating custom commands, have a look at the following tutorial (parameter usage is described on step 4): https://www.adaxes.com/tutorials_ActiveDirectoryManagement_CreateCustomCommand.htm.

Related questions

0 votes
1 answer

For creating a computer object, we want to check if the entered CN is already used in our AD. And for that we want to use a powershell script. An other dot ... powershell script should be start before creating the computer object, right? Thanks for your help.

asked Jun 4 by KEME (80 points)
0 votes
1 answer

I created a group Business Rule that triggers "After adding or removing a member from a group". On its Activity Scope I added a test group, and set it for "The group ... does not trigger. What should I do to make the BR detect this (admittedly rare) case?

asked Mar 16, 2023 by alex.vanderwoude (60 points)
0 votes
0 answers

Hi, One of our partner name is ABC in our AD and then later on it changed to XYZ. We gave my partner adaxes before changing the name and after changing the name the ... the security groups. Help us in popping up the security group folders in Member of Option.

asked Oct 27, 2021 by siddu (40 points)
0 votes
1 answer

Hello, I'm wondering if it's possible to export a list of all users in AD along with their email addresses to an Excel spreadsheet and then schedule that export to append ... address that wasn't previously used. Please let me know if this is possible. Thanks!

asked Apr 11 by sjjb2024 (60 points)
0 votes
1 answer

Hello, I was wondering if there is a way to schedule (pick a date & time) when a user is enabled/disabled or any advice on how I could achieve this? Thanks! Adrian

asked Nov 3, 2014 by apadilla33 (50 points)
3,589 questions
3,278 answers
8,303 comments
548,105 users