web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Getting the current logged in user

(0) ShareShare
ReportReport
Posted on by 790

dear all

I have a workflow that executes and sends an email, i need to know what variable holds the current logged in user in order to include it in the email.

to explain , i need to a statement in the email like "Please contact XYZUser" (the user who executed the workflow) especially that all emails are sent with one email account.

thanks,

*This post is locked for comments

I have the same question (0)
  • Verified answer
    gdas Profile Picture
    50,091 Moderator on at

    Hi Ahmad ,

    Updating my answers , my understanding was wrong -

    Try to check below -

    https://www.crmanswers.net/2013/10/get-current-user-inside-workflow.html

  • Ahmad Saud Profile Picture
    790 on at

    WOW, quite surprised :(

    Thanks Goutam.

  • Verified answer
    Nithya Gopinath Profile Picture
    17,078 on at

    Hi Ahmad Saud,

    Refer the thread below.

    https://community.dynamics.com/crm/f/117/t/182761

    Hope this helps.

  • Ahmad Saud Profile Picture
    790 on at

    thanks, but this requires a plugin!!

  • Verified answer
    gdas Profile Picture
    50,091 Moderator on at

    Hi Ahmad ,

    If you don't want to create custom workflow I would suggest to create a custom User lookup  field in the base entity.Now create one parent workflow which will update first with login user in the custom lookup  and then start child workflow get the user field value to send the email.

    Hope below reference will helps you -

    www.magnetismsolutions.com/.../what-are-the-advantages-of-using-child-workflows-in-dynamics-365

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans