target URL for Interceptors

manita_anand
Giga Expert

Hi Folks,

I am designing Change Management with Interceptors and populating the categorization through TARGET URL :

change_request.do?sys_id=-1&sysparm_query=type=emergency&sysparm_query=category=telecom&sysparm_query=u_change_category_level_2=Agent Phone Hardware&sysparm_query=u_change_category_level_3=Agent Phone Hardware

the issue is, only the u_change_category_level_3 is getting populated on the change form.

the type,category and u_change_category_level_2 are not getting populated.

Can anyone guide whats wrong in the target URL?

1 ACCEPTED SOLUTION

fosborne
ServiceNow Employee
ServiceNow Employee

Hi Manu2988,


Try to see if this syntax gives you what you want since you want to insert into multiple fields



change_request.do?sys_id=-1&sysparm_query=type=emergency^category=telecom^u_change_category_level_2=Agent Phone Hardware^u_change_category_level_3=Agent Phone Hardware


       


if spaces in URL causes issues then maybe:



change_request.do?sys_id=-1&sysparm_query=type=emergency^category=telecom^u_change_category_level_2=Agent%20Phone%20Hardware^u_change_category_level_3=Agent%20Phone%20Hardware




-Fred



Please mark Correct if it solved your issue and/or hit Like and Helpful if you find my response worthy.


View solution in original post

4 REPLIES 4

rajeevlochan82
Mega Guru

can you check if you are passing 'value' for these fields instead of the Display Name ?


Hi Rajeev, i am passing the value only.


fosborne
ServiceNow Employee
ServiceNow Employee

Hi Manu2988,


Try to see if this syntax gives you what you want since you want to insert into multiple fields



change_request.do?sys_id=-1&sysparm_query=type=emergency^category=telecom^u_change_category_level_2=Agent Phone Hardware^u_change_category_level_3=Agent Phone Hardware


       


if spaces in URL causes issues then maybe:



change_request.do?sys_id=-1&sysparm_query=type=emergency^category=telecom^u_change_category_level_2=Agent%20Phone%20Hardware^u_change_category_level_3=Agent%20Phone%20Hardware




-Fred



Please mark Correct if it solved your issue and/or hit Like and Helpful if you find my response worthy.


Thanks Fedrick.



your first option worked perfectly!


Thank you so much for your time.