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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Auto detecting the use...
Power Automate
Answered

Auto detecting the user who initiated the flow

(0) ShareShare
ReportReport
Posted on by 42

My business has a number of Power Automate Desktop flows that are run by different people in my business. For example, a particular PAD flow may be run, in an attended manner, by a first person in my business and may later be run by a second person in my business - where that particular PAD flow was shared with both people. 

 

QUESTION - is there any way to detect who initiated the PAD flow (i.e., the first person or the second person)?  The reason I would like to do that is because the PAD flow inserts the name of the initiator of the PAD flow into a field on a website.  So, instead of me creating a first PAD flow for the first person and a second PAD flow for the second person, where the first PAD flow would have a variable having a value of the first person's name and the second PAD flow would have a variable having a value of the second person's name, I would like to have a single PAD flow shared with the first person and the second person and would like to detect which of the first person or the second person initiated the flow.

I have the same question (0)
  • Verified answer
    Kaif_Siddique Profile Picture
    2,108 Super User 2024 Season 1 on at

    Hi @jharrity , 

     

    Go to System>select Get Windows Environment Variable

    Kaif_Siddique_0-1664300431929.png

     

    You can get username, domain etc. Username will change based on the user first, second... 

     

    Let me know if any queries.


    If you like my response, please give it a Thumbs Up.
    If this helps, please Accept as solution.


    Regards
    Kaif

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 796

#2
Valantis Profile Picture

Valantis 671

#3
Haque Profile Picture

Haque 551

Last 30 days Overall leaderboard