Script Testing and Publishing
Running a Single Block
To run and test an specific block, click Run test in the left panel while in edit mode.
If the selected block relies on data from a previous block, you can manually enter input values. To do this, test the block first, then click the context menu icon and select Replace input values.
Enter your values and run the test again. The block will retain your input values for future debug runs. To revert to the original values, click Restore.
After testing, the block returns output data in the form of table columns. To see the column data type, hover over the column name.
If the system does not support a data type, you will see a tooltip: "Will be converted to String" when hovering over the column name. For more information on data types refer to the Editing a Script page.
From the block settings panel on the left, you can test the current block or switch to other blocks that have not been configured or tested yet.
To test a block, click Test the block under its name. Once tested, the block fields available for mapping will appear in the mapping tree.
To configure a block, click Configure the block under its name. You will be redirected to the tab where you can add a connection or specify the block parameters.
Testing a Script
To test the full script, click Run test in the upper right corner while in edit mode.
During testing, the Testing tab opens automatically. The status Testing with the date and time appears at the top right corner of the canvas. A timer starts next to each block, and the number of records passed between blocks appears on the connecting lines.
Once the test is completed, the status changes to Tested.
The start date and time, timer, and transferred data remain visible until the next test run. Running another test replaces this data with new data (only the latest test is stored).
Publishing a Script
If the script works correctly, click Publish in the upper right corner of the header.
Publishing the script creates a new version. You cannot publish a script if any blocks contain unfilled required fields.
Was the article helpful?