Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

How to get current user sys_id using business rule in servicenow now?

nthumma
Giga Guru

I need to current users sys_id using business rule.

any thoughts?

1 ACCEPTED SOLUTION

justin_drysdale
Mega Guru

gs.getUserID() will give you the user's sys_id.



var a = gs.getUserID();


gs.log("user sys_id: " + a);


View solution in original post

1 REPLY 1

justin_drysdale
Mega Guru

gs.getUserID() will give you the user's sys_id.



var a = gs.getUserID();


gs.log("user sys_id: " + a);