Where to put a debug workflow (workflow.info() statement

bpolo
Tera Guru

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!

2 REPLIES 2

bpolo
Tera Guru

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


Aditya Telideva
ServiceNow Employee
ServiceNow Employee

Please find the below link it may help you



http://wiki.servicenow.com/index.php?title=Troubleshooting_Workflows#gsc.tab=0


How to Debug Workflow



Thanks
Adi



Please mark your question as answered if it resolves your issue.