---
sourceDocument: Brazil ServiceNow AI Platform Capabilities
sourceDocumentLink: https://www.servicenow.com/docs/r/servicenow-platform

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil ServiceNow AI Platform Capabilities

ft:clusterId :

    - platcap

bundleId :

    - platcap

workflow :

    - Platform


---

# Configure custom script based scans for Article Optimization

# Configuring custom script based Article Optimization scans {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read  
The Out-of-Box (OOB) Knowledge Center settings provide default configurations for article optimization scans. However, users can configure new scans for article optimization.

## Before you begin

Role required: admin

## About this task

Configure
Article
Optimization scans for articles in the Knowledge Center. Two types of Article Optimization scans are available in the Knowledge Center. One is a script-based scan and the other is a AI-based scan. If you are subscribed to ServiceNow Otto,
you
can configure both the scan types. If you are not subscribed to ServiceNow Otto, you can configure only the script-based scans, and Article Optimization runs only the script-based scans.

## Procedure

1. Navigate to AllKnowledgeKnowledge CenterListsArticle OptimizationScans.  
2. Select New.
   1. If you want to clone and modify an existing scan, go to the kb_assist_scan_definition table.
   2. Open a record and select Insert and stay to copy the scan.
   3. Rename the copied scan.
   {#configure-custom-script-based-AO-scan__substeps_i3f_j5q_jhc}
3. Fill out the record form as follows:
   1. Set the Run type field to:  
      * On change: If you want the scan to run each time an article is saved.  
        Note:  
        the scan must still be associated with a job in order to run but the job schedule will not control when this scan runs.
      * Always:If you want the scan to run based on the schedule set up in the associated job.
      {#configure-custom-script-based-AO-scan__ul_ojm_xs1_nhc}
   2. Set the Execution type to Script Based.
   {#configure-custom-script-based-AO-scan__substeps_rhz_lfm_3hc}
4. Type the script code in the Script field.  
   Note:  
   Using a copy of an existing scan can come in handy as this specific format has to be used for processing the results.
5. Save the record.
{#configure-custom-script-based-AO-scan__steps_ktg_fzq_jhc}

## Result

The Article Optimization scan is custom configured.

## What to do next

To run the scan, you must add the configured scan to a job. For more information see, [Configure Article Optimization jobs](https://www.servicenow.com/docs/MzvSTYVlYEFVZFFJ6UBLIg "Article Optimization jobs define a schedule for running scans and their conditional settings. Each job has one or more scans associated with it.")
**Related tasks**   

* [Configure custom AI-based Article Optimization scans](https://www.servicenow.com/docs/NREpjUv7OfsMRZjheBmhYA "The Out-of-Box (OOB) Knowledge Center settings provide default configurations for article optimization scans. However, you can customize scans for article optimization.")
* [Configure Article Optimization skill and prompts](https://www.servicenow.com/docs/ls1_VyX2zgyLJHoWLGTThQ "Create custom prompts for the default Article Optimization (AO) skill in the Knowledge Center application and prompts using standalone custom skills.")
* [Activate the Article Optimization skill](https://www.servicenow.com/docs/kC80OnPdir4RifC0T7~D5Q "Activate the Knowledge Center Article Optimization skill to enable article optimization features for generating knowledge articles in the Knowledge Center.")

*[\>]: and then


