How to direct to interceptors

mattarmstrong
Mega Contributor

I want to direct users to the configuration item interceptor (intercepts cmdb_ci.do) but am having trouble with the url navigation of the module. Have the module url arguments set to wizard_view.do?sys_id=-1&sys_target=cmdb_ci but this pulls up an undefined interceptor.   I'm sure my argument is not correct but do not know how to correctly direct this with the wizard.  

Thanks!

1 ACCEPTED SOLUTION

I just went to the interceptors page and clicked "try it" then stole the URL, stripped out the nav_to.do part and decoded the URI translated characters to come up with this:



/wizard_view.do?sysparm_stack=cmdb_list.do&sysparm_wizardAction=sysverb_new&sysparm_parent=714904b0db3022002e38711ebf961918&sys_target=cmdb/wizard_view.do&?ys_target=cmdb&sysparm_stack=cmdb_list.do&sysparm_wizardAction=sysverb_new&sysparm_parent=714904b0db3022002e38711ebf961918


View solution in original post

4 REPLIES 4

Chuck Tomasi
Tera Patron

Are you trying to figure out how to intercept cmdb_ci.do and present a list of options, or trying to figure out the URL for each of the options presented?


Trying to figure have the module I created direct to the interceptor.


I just went to the interceptors page and clicked "try it" then stole the URL, stripped out the nav_to.do part and decoded the URI translated characters to come up with this:



/wizard_view.do?sysparm_stack=cmdb_list.do&sysparm_wizardAction=sysverb_new&sysparm_parent=714904b0db3022002e38711ebf961918&sys_target=cmdb/wizard_view.do&?ys_target=cmdb&sysparm_stack=cmdb_list.do&sysparm_wizardAction=sysverb_new&sysparm_parent=714904b0db3022002e38711ebf961918


Paul Curwen
Giga Sage

For anyone reading this post you may find the following link useful to help decode the URI characters for you:

 https://www.online-toolz.com/tools/unicode-html-entities-convertor.php

 for example the common characters you'll see are:

%2 = /

%3F = ?

%3d = = 

%26 = &

Regards,

Paul 

***If Correct/Helpful please take time mark as Correct/Helpful. It is much appreciated.***

Regards

Paul