Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I would like to get access to the current user first name, so be able to insert into an email.

I have found that

[%Workflow Context:Current User%]

will insert the full name of the logged in user (LAST FIRST MI in my case).

Is there a way to get the first name of the user somehow?

share|improve this question

3 Answers 3

  1. Select "Add or Change Lookup"
  2. Select "User Profiles" under Data Source
  3. Select "First Name" under Field From Source
  4. Select the default "Field:" option
  5. Press the fX button
  6. Select "Workflow Context" and "Current User"

Hit Ok and you should see something like [%User Profiles:First name%] appear which represents the first name of the current user.

share|improve this answer

This is also assuming that Enderland is using SharePoint Server not Foundation. User Profiles may not be available with SharePoint Foundation.

Have you looked into SPD workflow add-ins like SPDActivities (http://spdactivities.codeplex.com/)?

share|improve this answer
1  
Seeing that Enderland asked and answered the question, it can be safely assumed that UPS is available. –  teylyn Mar 6 '13 at 8:38

To get the user's name to show in a readable format, select any of the 'User' options either in 'Workflow context' or 'Current List' but change the 'Return field as' to 'Display name' instead of the default 'As string'

For example: Data Source: Current List Field form source: Created By Return Field as: Display Name

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.