UI action log

s_45
Tera Contributor

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? 

14 REPLIES 14

Jaspal Singh
Mega Patron
Mega Patron

Yes, the format being used will work. 

 

Thanks,

Jaspal Singh

 

Hit Helpful or Correct on the impact of response.

Brian Lancaster
Tera Sage

Yes gs.log should work in a UI Action.  Then you will find it under System Logs > System Log > Scripted Log Statements.

Hi Brian,

I executed "list choice UI Action' but could not find logs in Script Log Statements. How do I narrow down search results?

 

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.