0 votes

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 going to use the customtext attribute to fill in what the job title of the manager should be, but I am stuck from here.

Example:

We get a new Director of Nursing. All the nurses below them need to have their manager field changed to the new Director of Nursing.

How can this be done automatically? I am building everything else off of job titles so that would be ideal.

Thanks for the help and the awesome product.

by (20 points)
0

Hello,

Sorry for the confusion, but we are not sure how exactly the process should work. Do we understand correctly that you need to make sure that all users with a specific Job Title have a specific manager?

0

I apologize for the lack of clarity.

I would like to have the manager fields updated based on job title.

Example:

There are several Nurses with the Job Title "Registered Nurse". Everyone with that job title should have the user whose job title is "Director of Nursing" as their manager. Then when the director of nursing changes, I want all the users with the job title "Registered Nurse" to have the new person whose job title is "Director of Nursing" as their new manager.

So the manager for "Registered Nurse" is always whomever has the job title "Director of Nursing".

Does that make more sense?

Thanks for the assistance.

1 Answer

0 votes
by (294k points)

Hello,

Thank you for clarifying. To achieve the desired, use the following script from our repository: https://www.adaxes.com/script-repository/set-manager-based-on-property-value-s670.htm. In your case, it should be executed in a scheduled task like the following: image.png

Also, you can use the script in a business rule like below: image.png

Related questions

0 votes
1 answer

Good afternoon, I'm looking to generate a script to allow automation of updating job titles using a spreadsheet. To do this we would use a spreadsheet generated by ... in calling the file. Please let me know if you require any additional information Regards

asked Nov 16, 2020 by jtop (700 points)
0 votes
0 answers

WorkFlow : From Adaxes, how can the Director or Assistant validate the employee’s "Job Title" modification request?

asked Jul 12, 2023 by LucasGrd (40 points)
0 votes
0 answers

From Adaxes, how can the Director or Assistant validate the employee’s "Job Title" modification request ?

asked Jun 15, 2023 by LucasGrd (40 points)
0 votes
1 answer

Is there a report that I can run that shows everyone with a specific job title

asked Apr 20, 2023 by sra98a (120 points)
0 votes
1 answer

We have a property pattern for a user's job title that lists all the aviable titles. I need to be able to add a new constraint to this within a custom command and from Powershell on a differant computer. Would you be able to help?

asked Sep 23, 2020 by hgletifer (1.3k points)
3,588 questions
3,277 answers
8,303 comments
548,091 users