Interceptor

Sudhriti Mitra
Tera Contributor

Hi All

Is it possible to have conditions or table specific interceptors? Any suggestions

15 REPLIES 15

srinivasthelu
Tera Guru

Hi Sudhriti,



Techincally, you can intercept any URL in the ServiceNow.



For example, If you want to intercept incident table, You need to incident.do as the intercept URL



hope that helps


Srini


Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hi Sudhriti,



As per the wiki, this functionality is replaced by Record producer. Please refer the below link for more info.


http://wiki.servicenow.com/index.php?title=Legacy:_Using_an_Interceptor_to_Gather_Data_for_a_New_Rec...


I want to edit and existing interceptor and want it to display selective values. For example : if I have selected the change type as "Routine Change" in the form and click on New button the interceptor should display only "Routine Change" and hide all other options. Is it achievable?


Sudhriti,



Yes,


From the navigation menu, open the 'record producer'


Then search for the item you would like to customize (for instance Create new Routine Change)


Then add the following script under 'What it will contain' tab : current.type = "Routine";




Let me know if you have more concerns


ZA


Do not feel shy to mark correct or helpful answer if it helps or is correct