The CreatorCon Call for Content is officially open! Get started here.

debugging a workflow

patricklatella
Mega Sage

Hi all,

I've got a workflow that I'm building, and initially I'm just trying to see if parts are firing by using a gs.info()...so the first question is can I do this inside a "Run Script" command within a workflow?

Here's the set up:

find_real_file.png

This workflow is running on the sc_req_item table, the IF statement is picking up whether it's my desired catalog item.   Then for now I just want to see if the Run Script there is working with this script:

find_real_file.png

so if I do a test order of this item, should I see   "hello" message in the system log?

10 REPLIES 10

Aleksandr D_
Kilo Expert

Gs.log() not work from WF.

For logs from WF script you must use gs.info('message') / gs.debug('message').