Explain and summarize code
On this page
Explain and summarize code
Get a summary of the code or a comprehensive explanation of its functionality.
Before you begin
Role required: now.assist.creator
Procedure
-
Navigate to any script editor enabled with ServiceNow Otto for Code.
For example, to open a script include form, navigate to All > System Definition > Script Includes and select a script include.
-
In the script editor, select a code and then select the Otto.
[Omitted image "soc-otto-menu.png"] Alt text: Select Summarize code to understand code.
-
To understand the purpose of the code, select Summarize code.
[Omitted image "soc-summarize-code.png"] Alt text: Select Summarize code to get a short explanation of the code.
-
From the Use Otto to list, select Explain code in detail to get a comprehensive explanation of the code’s functionality.
[Omitted image “soc-summarize-code-detail.png”] Alt text: Select Explain code in detail to get a detailed explanation of the code.
Keep exploring.
Find another answer, or bring this documentation into your own tools.