cancel
Showing results for 
Search instead for 
Did you mean: 
Workflow Hero

nintex workflow get first name only

Jump to solution

All I have a workflow where I set the Employee name into a variable by using the Employee Name (people picker field) display name option. I have been receiving requests to send emails and only use the first name (not first and last). Is there an easy way to do this?

Tags (1)
0 Kudos
Reply
4 Replies
Workflow Hero

Re: nintex workflow get first name only

Jump to solution

if your display names follow some common pattern like 'FirstName LastName' you can parse it out of there eg. using regular expression.

if not you can use query LDAP action to get it from AD.

Reply
Workflow Hero

Re: nintex workflow get first name only

Jump to solution

My Display name is first name and last name. How can I get just first name with the parse?

0 Kudos
Reply
Workflow Hero

Re: nintex workflow get first name only

Jump to solution

ok, so I will assume the first word of Displayname is always first name. then following regex should work

^\w+

Reply
Workflow Hero

Re: nintex workflow get first name only

Jump to solution

Use the action Query User Profile to get the user's first name.

0 Kudos
Reply