UI action log
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2019 08:54 AM
How to add log statements in UI action to see if it is running. Is the syntax below is correct? gs.log() in my script.
gs.log("Inside the log");
I created a UI action and I want to test if it is triggering or not?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2019 08:56 AM
Yes, the format being used will work.
Thanks,
Jaspal Singh
Hit Helpful or Correct on the impact of response.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2019 08:58 AM
Yes gs.log should work in a UI Action. Then you will find it under System Logs > System Log > Scripted Log Statements.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2019 09:55 AM
Hi Brian,
I executed "list choice UI Action' but could not find logs in Script Log Statements. How do I narrow down search results?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2019 10:48 AM
Usually if you just order by created you should see you log near the top. You can also search the message for what you typed in to log.