---
sourceDocument: Xanadu API Reference
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/xanadu/api-reference

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu API Reference

ft:clusterId :

    - crapiref

bundleId :

    - crapiref

workflow :

    - Creator


---

# AbstractScriptProcessor - Global

# AbstractScriptProcessor - Global {#ariaid-title1}

* Release version: Xanadu
* 
* Updated August 1, 2024
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

The AbstractScriptProcessor script include is a base JavaScript processor class that other JavaScript processors extend.

Extend this class to create your own JavaScript processors.

## AbstractScriptProcessor - initialize(String request, String response, String
process) {#ariaid-title2}

Called by the Prototype JavaScript Framework during object construction.
{#r_ASP-initialize_S_S_S__table_q5d_2h2_5t__entry__3}

| Name | Type | Description |
|-|-|-|
| request | String | The request |
| response | String | The response |
| process | String | The process |
[Table 1. Parameters]

{#r_ASP-initialize_S_S_S__table_q5d_2h2_5t} {#r_ASP-initialize_S_S_S__table_r5d_2h2_5t__entry__2}

| Type | Description |
|-|-|
| void |   |
[Table 2. Returns]

{#r_ASP-initialize_S_S_S__table_r5d_2h2_5t}

## AbstractScriptProcessor - process() {#ariaid-title3}

Called by the Prototype JavaScript Framework during object processing. Do not call this
method directly.
{#r_ASP-process__table_l1b_rh2_5t__entry__3}

| Name | Type | Description |
|-|-|-|
| None |   |   |
[Table 3. Parameters]

{#r_ASP-process__table_l1b_rh2_5t} {#r_ASP-process__table_m1b_rh2_5t__entry__2}

| Type | Description |
|-|-|
| void |   |
[Table 4. Returns]

{#r_ASP-process__table_m1b_rh2_5t}

