Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

What does RP.getReferringURL() mean

avinash kumar
Tera Expert

I have a UI action which has the condtion as

(RP.getReferringURL().indexOf("active") != -1) &&(gs.getUser().hasRoles() == false)

and in the related list called UI Action Visibility, we have restricted it to be visible only on self service view.

Now as a user with no role, when I open my changes, under related list for incident I can see this button. But when I search the same change using the global search, i don't see this button.

In general, I wanted to know below:

1. What does RP stands for.

2. What is a Referring URL and how is it constructed by service now.

1 REPLY 1

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hi Avinash,



RP determines the render type on the window. Please check section 20 for more info.


Extensions to Jelly Syntax - ServiceNow Wiki