0 votes

I'm working on a new user creation form for the help desk. I'm having them select the department number the new hire will be in. Once user is created, I want the department name to be auto-populated based on the number. Would this be done under Business Rules > After User Creation, doing else if statements or is there a easier way? Example: Dept ID 1 = IT, 2 = Finance, 3 = HR etc.

by (330 points)

1 Answer

0 votes
by (301k points)

Hello,

Using built-in actions/conditions in a business rule triggering After creating a user is the easiest option. As an alternative, you can use a PowerShell script in the same business rule.

0

Do you have a base script template for something like this?

0

Hello,

Unfortunately, we do not have a template like that, but the following article should be helpful: https://adaxes.com/sdk/ServerSideScripting.

Related questions

0 votes
1 answer

During the creation of a new user I want to be able to select the job title from a drop-down list which populates different values based on which Department is selected. Is there a way to achieve this? Thanks. Dario.

asked Oct 2, 2020 by winstonsmith (40 points)
0 votes
1 answer

In our organisation every department has a named manager. So if I add a new user and their department is "Sales" (selected from a property pattern) I have a business ... department. Any suggestions on the simplest way to achieve this would be great thanks :)

asked Feb 23, 2014 by hutchingsp (240 points)
0 votes
1 answer

Hi, I would like to be able to provision my user accounts "Department" fields based on the Organizational Unit name in which the user is in. Basically I'd like to copy the ... Adaxes? ex: OU = IT Corp Name = Paul Fakename Department = IT Corp Thanks in advance

asked Nov 26, 2012 by cedricb (50 points)
0 votes
1 answer

Hello, I would like to use the 'Department Number' attribute during user creation, but on my form it allows the end user to add addition values? I'm using Property Patterns to ... the '+' symbol it lets me add multiple. Is there a way to remove this? Thanks

asked Oct 27, 2020 by bavery (250 points)
0 votes
1 answer

We have 3 email domains. 1 primary and 2 subsidary companies. I'm needing to automate setting the email domain during user creation based on department. See attached ... to be able to automate this for ongoing maintenance if users move between departments.

asked Mar 7 by browndervilleb (20 points)
3,677 questions
3,361 answers
8,494 comments
549,314 users