Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

Need to get user logged in the Flow designer "run as system user"

Fabiano F Maced
Tera Contributor

I have a flow that is running as system user, but I need to know who trigged the flow and the commands bellows doesn't return the user logged:


- gs.getUserID();
- fd_data.trigger.current.sys_updated_by;


Any tips?

8 REPLIES 8

Fabiano F Maced
Tera Contributor

HI Olan,

 

This way will works, however I need run the flow as a System User and I need get the User logged.

Hello @Fabiano F Maced 

I'm facing the same problem. How did you managed it? 

 

Ramon Cordova
Tera Contributor

Hi @Fabiano F Maced!

Did you figure out something helpful for this?

Ankit_Matta
Tera Expert

t was the output for these 2 statements 
 gs.getUserID();
- fd_data.trigger.current.sys_updated_by;