Skip to page contentSkip to chat
ServiceNow support
    • Community
      Ask questions, give advice, and connect with fellow ServiceNow professionals.
      Developer
      Build, test, and deploy applications
      Documentation
      Find detailed information about ServiceNow products, apps, features, and releases.
      Impact
      Accelerate ROI and amplify your expertise.
      Learning
      Build skills with instructor-led and online training.
      Partner
      Grow your business with promotions, news, and marketing tools
      ServiceNow
      Learn about ServiceNow products & solutions.
      Store
      Download certified apps and integrations that complement ServiceNow.
      Support
      Manage your instances, access self-help, and get technical support.
Parameter with name "id" for new processors break global processors on Service Portal - Known Error
  • >
  • Knowledge Base
  • >
  • Known Error (Knowledge Base)
  • >
  • Parameter with name "id" for new processors break global processors on Service Portal
KB0719241

Parameter with name "id" for new processors break global processors on Service Portal


978 Views Last updated : Jan 12, 2023 public Copy Permalink
KB Summary by Now Assist

Description

Parameter with name "id" for new processors break global processors on Service Portal.

Steps to Reproduce

I reproduce this issue on my OOTB instance empjgu1 Kingston Patch 7.

  1. Log in as admin
  2. Navigate to 'sys_processor.do'.
  3. Create a new Processor
    • name: testbyServicenow
    • Type: script
    • Active: true
    • Parameters: id
    • Path: testbyServicenow
    • Script:
       (function process(g_request, g_response, g_processor) {
      // Add your code here
      gs.log("Inside the SERVICENOW Test sys processor: " + g_request.getParameter('id'));
      })(g_request, g_response, g_processor);
  4. Access to record in Service Portal via URL.

For example, use the following link to access OOTB Widget editor of SC Order Guide.

https://empjgu1.service-now.com/sp_config?id=widget_editor&sys_id=480ca054db03320064301150f0b8f545

Use the following link access 'ticket' page view 'sc_req_item'.

https://empjgu1.service-now.com/sp?id=ticket&table=sc_req_item&sys_id=de31d389db3b134004486f048a961909&view=sp

These pages can be accessed as desired if we remove Parameters id from the created Processor.

Expected behavior: The record page can be accessed via URL.
Actual behavior: The record page is blank if accessed via URL.

Workaround

Processor parameter matching is extremely powerful, so generic parameter names must be avoided. e.g., if you chose to add "sys_id" as a parameter to a Processor, you'd break much of your instance.

Is it not practical for us to change the "id" parameter for Service Portal page target at this point, unfortunately. Custom Processor parameters should be made as specific as possible to avoid conflict with OOB functionality. Parameters like table, sys_id, id, view, etc. will take control of any URL that uses them and should be avoided.

The following is a list of parameters names which are used by the Service Portal, and therefore cannot be when creating a new processor:

  • id
  • table
  • t
  • sys_id
  • view
  • kb_id
  • kb_category
  • catalog_id
  • sysparm_category
  • service
  • sort

Using one of these parameters names will cause a blank screen when trying to access the service portal.


Related Problem: PRB1297982

The world works with ServiceNow.

Sign in for more! There's more content available only to authenticated users Sign in for more!
Did this KB article help you?
Did this KB article help you?

How would you rate your Now Support digital experience?

*

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

What can we improve? Please select all that apply.

What are we doing well? Please select all that apply.

Tell us more

*

Do you expect a response from this feedback?

  • Terms and conditions
  • Privacy statement
  • GDPR
  • Cookie policy
  • © 2025 ServiceNow. All rights reserved.