Where to put a debug workflow (workflow.info() statement
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2018 11:14 AM
I was just wondering whereabouts you code the workflow.info debug statement? I have a SOAP call in a workflow, where I have an input variable, but when it goes to the SOAP call, it is blank so I was wanting to display the input value coming in. Where would I put the debug message in this case? Thanks!
- Labels:
-
User Interface (UI)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2018 11:37 AM
Actually I created the log message in my workflow, and put a script in saying:
workflow.info(workflow.info('name' +current.variables.name); When I checked the workflow logs it just displayed what I had scripted "workflow.info('buid' +current.variables.buid_hidden);" in the message field instead of the actual value. Please advise
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2018 01:04 AM
Please find the below link it may help you
http://wiki.servicenow.com/index.php?title=Troubleshooting_Workflows#gsc.tab=0
Thanks
Adi
Please mark your question as answered if it resolves your issue.