Answered by:
To know log in email of workflow initiator

>
Question
-
Hi
I would like to send an email to the initiator who started workflow manually. How can I know log in email of that workflow initiator within the workflow? Please provide me the solution if one of you guys knew it. Thanks.Thursday, April 30, 2009 6:54 AM
Answers
-
Hi,
Luckily, I found the workaround to know the workflow initiator's email without creating workflow programmatically. That is to use userprofile web service as a data form web part in aspx page of workflow to get email address whenever the initiator started the workflow. Thanks.
With regards,
naychi.- Marked as answer by Lionel Chen - MSFT Wednesday, May 6, 2009 9:11 AM
Wednesday, May 6, 2009 7:31 AM
All replies
-
hi,
Tou can use following in VS
workflowProperties.OriginatorUser.Email OR workflowProperties.OriginatorEmail
to get The Email id of originator
and
workflowProperties.Originator --> This give the Display name
workflowProperties.OriginatorUser.Name --> This give the Display name
workflowProperties.OriginatorUser.LoginName --> This give the Login name e.g <domain>\<name>Hop This Helpful,
sangatiThursday, April 30, 2009 7:05 AM -
Hi Sangati,
Thanks for your reply. Your information is really interesting, but I didn't create workflow programmatically. Without coding, is there any way to refer workflow initiator's email in the designer?
Thursday, April 30, 2009 8:09 AM -
Hello,
I don’t think there is a way to refer workflow initiator into notification mails without coding, as it is not a column visible for SharePoint Designer workflow process.
Thanks for your understanding. If you have any further question on this topic, feel free to let us know.
Lionel
Wednesday, May 6, 2009 5:51 AM -
Hi,
Luckily, I found the workaround to know the workflow initiator's email without creating workflow programmatically. That is to use userprofile web service as a data form web part in aspx page of workflow to get email address whenever the initiator started the workflow. Thanks.
With regards,
naychi.- Marked as answer by Lionel Chen - MSFT Wednesday, May 6, 2009 9:11 AM
Wednesday, May 6, 2009 7:31 AM -
Nice info, guys, I made a best practices wiki page about it: http://social.technet.microsoft.com/wiki/contents/articles/8044.sps-2010-best-practices-retrieving-the-current-user-in-a-workflow.aspx
Kind regards,
Margriet BruggemanLois & Clark IT Services
web site: http://www.loisandclark.eu
blog: http://www.sharepointdragons.com
Friday, March 9, 2012 8:56 AM