Logging from a flow

Colleen
Tera Expert

Is there a workflow.info equivalent for a Flow Designer script?

 

I know that there is a log action, but I would like to update the flow log from a script step to help with debugging.

14 REPLIES 14

Hello Mike_R

 

I've tested the flow multiple times, and it completes without error.  

 

From your screen shot it looks like you are on Tokyo, I am using San Diego.

 

I'm on San Diego too. I just enabled flow diagramming so that's why it looks slightly different.

You are definitely checking the right logs right?

instanceNameservice-now.com/syslog_list.do?sysparm_query=sys_created_onONToday%40javascript%3Ags.beginningOfToday()%40javascript%3Ags.endOfToday()%5Elevel%3D0%5Esource%3D***%20Script&sysparm_view=

 

 

Also, are you in Global scope or custom scope?

Hi Mike

 

The subflow is in the global scope.  I've been checking syslog, and also checked the syslog_app_scope (just in case).

 

Colleen

I also tried gs.info from both an action and inline and it worked no problem

 

Mike_R_1-1667924104719.png

 

 

 

 

Mike_R_0-1667924095491.png

 

Mike_R_2-1667924127716.png

 

 

Hi Mike_R

 

I was trying to use an inline script to assign a true/false value to a subflow output.  It looks like something was wrong with that specific step  When I deleted the step, added it back and re-entered, the value was set correctly and gs.info etc. worked.

 

Thanks for your help.