Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

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.

Procedure

  1. Navigate to All > System Definition > Processors.

  2. Select New.

  3. Enter the following information.

FieldValue
NameHello
TypeScript
PathHello
Script
var name= g_request.getParameter("name");
g_processor.writeOutput("text/plain","Hello "+name);
  1. Select Submit.

  2. 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