Create a simple processor
task australia Updated Mar 12, 2026 1 min read t_CreateSimpleProcessor.md
Create a simple processor to execute a script from a URL query. This feature is deprecated.
Before you begin
You must have your own demonstration instance.
Role required: admin
About this task
Note: This feature is deprecated. While legacy, existing custom processors continue to be supported, creating new custom processors has been deprecated. Instead, use the Scripted REST APIs.
Procedure
-
Navigate to All > System Definition > Processors.
-
Select New.
-
Enter the following information.
|
Field |
Value |
|---|---|
|
Name |
Hello |
|
Type |
Script |
|
Path |
Hello |
|
Script |
JavaScript |
-
Enter a URL query to the instance with the following format:
https://instance.service-now.com/processor_name.do?parameter=valueFor example:
https://<instancename>.service-now.com/Hello.do?name=world.
Parent Topic:Processors
90 lines · 2.1 KB
---
title: Create a simple processor
description: Create a simple processor to execute a script from a URL query. This feature is deprecated.
locale: en-US
canonical_url: https://www.servicenow.com/docs/r/australia/api-reference/scripts/t\_CreateSimpleProcessor.html
release: australia
product: Scripts
classification: scripts
topic_type: task
last_updated: "2026-03-12"
reading_time_minutes: 1
breadcrumb: [Processors, Server-side scripting, Scripting, API implementation, API implementation and reference]
---
# Create a simple processor
Create a simple processor to execute a script from a URL query. This feature is deprecated.
## Before you begin
You must have your own demonstration instance.
Role required: admin
## About this task
**Note:** This feature is deprecated. While legacy, existing custom processors continue to be supported, creating new custom processors has been deprecated. Instead, use the [Scripted REST APIs](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/rest-api-explorer/c_CustomWebServices.md).
## Procedure
1. Navigate to **All** > **System Definition** > **Processors**.
2. Select **New**.
3. Enter the following information.
<table id="choicetable_wfd_v4x_3q"><thead><tr><th align="left" id="d577796e112">
Field
</th><th align="left" id="d577796e115">
Value
</th></tr></thead><tbody><tr><td id="d577796e121">
**Name**
</td><td>
Hello
</td></tr><tr><td id="d577796e130">
**Type**
</td><td>
Script
</td></tr><tr><td id="d577796e139">
**Path**
</td><td>
Hello
</td></tr><tr><td id="d577796e148">
**Script**
</td><td>
```
var name= g_request.getParameter("name");
g_processor.writeOutput("text/plain","Hello "+name);
```
</td></tr></tbody>
</table>4. Select **Submit**.
5. Enter a URL query to the instance with the following format: `https://instance.service-now.com/processor_name.do?parameter=value`
For example: `https://<instancename>.service-now.com/Hello.do?name=world`.
**Parent Topic:**[Processors](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/scripts/c_Processors.md)
| title | Create a simple processor |
| description | Create a simple processor to execute a script from a URL query. This feature is deprecated. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/australia/api-reference/scripts/t\_CreateSimpleProcessor.html |
| release | australia |
| product | Scripts |
| classification | scripts |
| topic_type | task |
| last_updated | 2026-03-12 |
| reading_time_minutes | 1 |
| breadcrumb | ProcessorsServer-side scriptingScriptingAPI implementationAPI implementation and reference |