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 (292k 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

Hi i have created a business role in that role if user is created a specific OU it will do everyting , generate password create email in specific DataBase , but i cannot find how to ... BA , according to this ou user should get @ba.com UPN , how can i do that?

asked Nov 29 by vagifazari (450 points)
3,572 questions
3,261 answers
8,277 comments
547,995 users