Thank you for your feedback.
Form temporarily unavailable. Please try again or contact to submit your comments.
  • Madrid
  • London
  • Kingston
  • Jakarta
  • Istanbul
  • Helsinki
  • Geneva
  • Store

Searching for errors by line

Log in to subscribe to topics and get notified when content changes.

Searching for errors by line

To locate the exact position of the error in a large script, click the Go to line icon.

This feature is particularly useful when you are encounter a syntax error in a log file rather than in the ServiceNow record itself. In this case, you can navigate to the record and search for errors by line number. In the dialog box that appears, enter the line number of an error, and then click OK. Your view moves to the site of the error, and the cursor marks the correct line and column.

Note: For this feature to function, you must disable the Syntax Editor.
Figure 1. Go to script error