How do I log in javascript workflow ?

How do I log in javascript workflow so i can view the logged message in the database maintenance page ?

Hi,

If you want to log the message at DB maintenance → Workflow Execution Log, you can use util.logWorkflowError. If you want to check the variable, you can use response.setMessage to print the value. For more detail, check here

Best Regards,
James

1 Like

thanks, it works !

1 Like