HOW TO GET USER EXECUTING THE WORKFLOW

How to get the user email / account executing the workflow? I would like to use this info to assign a task to this user.
I didn’t find any variable (like in Environment) with this info.

@julien.incorvaia,

If you are looking for current user logged in on the system, you can use System.Environment.UserName

i am looking for UiPath user, not windows user

Hi @julien.incorvaia

You can use ‘Get Current Job Info’ activity to get the user email.

Cheers.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.