How to get user who launched a process
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
02-11-23 09:32 PM
------------------------------
Antonio Melo
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
02-11-23 09:40 PM
These process are triggered by a feature in Blue Prism called Scheduler. This must have been set by someone with access to the system.
Scheduler are used to trigger process based on set events so no one actually trigger this but someone did set this up.
Hope this Helps!
------------------------------
WeitghtRPAMatey
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
03-11-23 09:15 AM
------------------------------
Antonio Melo
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
03-11-23 10:13 AM
I don't think there is any way other than to query the database. The user ID is in BPASession.starteruserid, which you can see resolved to a name in BPVSessionInfo.starterusername
------------------------------
John Carter
Blue Prism
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
03-11-23 02:59 PM
Hello @antonio-r-melo
I understand that, within a running process execution (a Session), you want to see which user triggered the initial RPA process.
If so, within your process definition, you can use the function GetUserName() within a Calculation stage and store the output in a Text Data Item, then use this information however you like.
GetUserName() = Get the name of the user responsible for starting the current session, or empty text if no session is currently running.
I hope this is what you are looking for and helps
Kind regards
Chris Strong
Senior Product Manager
SS&C | Blue Prism
------------------------------
Chris Strong
Senior Product Manager
SS&C | Blue Prism
------------------------------
