Scripts are shown under the
Scripts heading in App Explorer. After you add a
script or change a script in the script editor, click the
Validate Script button on the
Validation tab of the Ribbon, or right-click in
the script editor and then select
Validate.
- If the script is valid, the Validation Output pane displays
"This script is valid."
- If the script has errors, the Validation Output pane contains a row
for each error that includes the error code, error type, error details, and the
line number in the script where the error occurred. Double-click the error in
the Validation Output pane to go to its location in the script editor.
For an included script, the script name is shown in front of the line
number. When you double-click the error in the Validation Output pane, the
included script opens in a separate tab and the error is highlighted. Another
way to open an included script is to right-click the line with the include tag
in the script editor and then select
Open
scriptname.
For a script in a referenced application, including the Global
Application, the script opens in read-only mode. Click the yellow alert bar at
the top of the script editor to open the related process app so you can edit
the script.
Note: The Validation Output pane also opens if you double-click a script
error in the Validation Results. (Script errors are included in the Validation
Results if you select the
Validate Scripts during Process App validation
check box on the
General Options
tab of the
SBM Composer
Options
dialog box.)
Copyright © 2007–2017 Serena Software, Inc. All rights reserved.