Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Getting the current logged in user

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

  • Verified answer
    gdas Profile Picture
    gdas 50,085 on at
    RE: Getting the current logged in user

    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

  • Ahmad Saud Profile Picture
    Ahmad Saud 790 on at
    RE: Getting the current logged in user

    thanks, but this requires a plugin!!

  • Verified answer
    Nithya Gopinath Profile Picture
    Nithya Gopinath 17,074 on at
    RE: Getting the current logged in user

    Hi Ahmad Saud,

    Refer the thread below.

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

    Hope this helps.

  • Ahmad Saud Profile Picture
    Ahmad Saud 790 on at
    RE: Getting the current logged in user

    WOW, quite surprised :(

    Thanks Goutam.

  • Verified answer
    gdas Profile Picture
    gdas 50,085 on at
    RE: Getting the current logged in user

    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

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans