---
sourceDocument: Australia API Reference
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/de-DE/api-reference

 Release :

    - australia

ft:locale :

    - de-DE

ft:publication_title :

    - Australia API Reference

ft:clusterId :

    - crapiref

bundleId :

    - crapiref

workflow :

    - Creator


---

# Tracking AI-generated code

# Tracking AI-generated code {#ariaid-title1}

* Freigeben Version: Australia
* 
* Aktualisiert 12. März 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 Minute Lesedauer

Control when to track and indicate that code is AI-generated.

When you accept a code suggestion, the lines of code that are AI-generated are tracked and indicated by a line next to the line numbers in script editors. If you edit AI-generated code, the line indicator doesn't appear for those lines
of code.

You can turn on and off tracking of AI-generated code and configure how long to record and indicate AI-generated code in script editors. By default, AI-generated code is recorded and indicated for six months.

## Configure how long to indicate AI-generated code {#ariaid-title2}

Show that the code was generated by AI in script editors for a specified duration after accepting code suggestions.

### Vorbereitungen

Role required: admin

### Prozedur

1. In the navigation filter, enter <kbd class="ph userinput">sys_auto_flush.list</kbd>, and press the Enter key.
2. Filter the Auto Flushes \[sys_auto_flush\] list by entering sn_now_assist_code_ai_generated_lines in the Tablename column filter.
3. Select sn_now_assist_code_ai_generated_lines to open the record.
4. In the Age in seconds field, enter the duration to record and indicate AI-generated code after its creation in seconds.
5. Select Update.
{#configure-how-long-indicate-ai-generated-code__steps_xfb_qmw_vyb}

### Ergebnisse

AI-generated code is tracked and indicated. However, AI-generated code created before the configured duration isn't recorded or indicated in script editors.

## Turn off tracking AI-generated code {#ariaid-title3}

Turn off tracking and indicating which code is AI-generated.

### Vorbereitungen

Role required: admin

### Warum und wann dieser Vorgang ausgeführt wird

Tracking and indicating which code is AI-generated involves changes that are included in update sets. If you don't want to include changes related to this in update sets, you can turn off tracking and indicating AI-generated
code.

### Prozedur

1. In the navigation filter, enter <kbd class="ph userinput">sys_properties.list</kbd> and press the Enter key.
2. Filter the System Properties \[sys_properties\] list by entering sn_now_assist_code.show_ai_code_line_marker in the Name column filter.
3. Select sn_now_assist_code.show_ai_code_line_marker to open the property record.
4. In the Value field, enter <kbd class="ph userinput">false</kbd>.
5. Select Update.
{#turn-off-tracking-ai-generated-code__steps_br1_dzw_vyb}

### Ergebnisse

AI-generated code isn't recorded or indicated in script editors.

