AnsweredAssumed Answered

workflow to create users AD Account

Question asked by sharepointsean on Nov 26, 2015
Latest reply on Dec 1, 2015 by sharepointsean

Hello Everyone,

 

I have a requirement in an onboarding system for Human Resources, where one of the fields in this list is a field to display the new users AD Account name. This list will not be touching the backend Active Directory at all.

 

The new users AD Account will be generated off of the users First Name and Last Name. Please see t he example below:

1. First Name - John

2. Last Name - Doe

3. AD Account - jdoe

 

One of the requirements is that the workflow look at t he first name and only keep the first letter of the first name and then concatenate the first letter with the users last name.

I have tried doing this by using a Regular Expression to look at the first name and strip out the first letter.

I need assistance with doing this as it is not working properly and it then has to Concatenate it with the last name.

After the regular expression step I am using a Update Item component to update the specified field called AD Account.

 

Any insight or instructions on how to make this happen would be greatly appreciated.

Outcomes