Lines that are not to be interpreted as Script Statements because they start with a blank space instead of a colon ( seen as JCL) are displayed in AWI in blue, instead of being displayed in brown:
Documentation states: Properly formatted statements are displayed in blue in the script editor.
In AWI, the second line " :" is wrongly displayed as a valid statement (in blue):
In Java UI, the behavior is ok, the second line is displayed in brown:
The following error may appear when executing a SCRIPT that has a line starting by a blank space instead of colon:
U00020355 Runtime error in object 'SCRI.TEST_BLANKS', line '00002'. A JCL line was found. This is only permitted in Jobs. Content: ' :print 'print with a space before the colon''
This is a bug of the AWI Script Editor
Release : 12.3
Component : AUTOMATION ENGINE
Subcomponent: Automic.Web.Interface (AWI)
Update to a fix version listed below or a newer version if available.
Automation.Engine 12.2.8 - Planned release in February 2021
Automation.Engine 12.3.5 - Planned release in March 2021