Logging from a flow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2022 07:55 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2022 12:44 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2022 05:59 AM
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2022 07:26 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2022 08:15 AM
I also tried gs.info from both an action and inline and it worked no problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2022 03:29 AM
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.