For any user login session.established script action showing system user . please help me how to reslove this
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2014 03:23 AM
Hi,
For any user login session.established event script action showing system user
Event : session.established
Script action
gs.log(gs.getUserName());//giving system user for any user login

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2014 04:09 AM
Are you sure? I am getting the correct values when I tried to login and cross verify.
URL : https://demo001.service-now.com/
Username and Password : abel.tuter
Now logout and login as admin and check the logs.....
Script Action to Check :'Test Action'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2014 11:52 PM
i am also getting correct when i am trying with the demo instances, but in my instance it is always showing system user for any user login?
Please let me know the problem

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2014 11:57 PM
Not sure either ..... Maybe a HI ticket if nothing else helps out
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2015 07:05 AM
Hi Shravan,
Did you get any solution for this issue. If yes, could you please put the things here what resolved this issue.
Regards,
Ajeet