Overview
When debugging JavaScript code, it is possible to generate a debugging log, which can be viewed from the Flow dashboard or the Audit Trail grid.
Process
Add the following code anywhere in the JavaScript:
// bunch of code
etlConfig.log('start');
.....
etlConfig.log('something happened here');
For example:
Note: Debug information also appears in a Flow log, so it can be used to monitor Flow in real-time.
View debug information from the Flows window
Step 1: Click on the Success or Error link in the Flows window.
Step 2: In the Flow statistics dashboard, click on the view info link.
Step 3: Debugging information will be displayed in a pop-up window.
View debug information from the Audit Trail
Important: Only admin users have access to the Audit Trail.
Step 1: Go to Statistics > Audit Trail window and click the Success or Error link.
Step 2: Debugging information will be displayed in a pop-up window.