What is interceptor? and how it can be used?

Sathwik1
Tera Expert

What is interceptor? and how it can be used?

8 REPLIES 8

This I understand..but how to see output of this?

You need to access page wizard_view.do with parameter sysparm_parent that has as value the sys_id of the interceptor you want displayed/used. E.g. wizard_view.do?sysparm_parent=00000000000000000000000000000001

It used to be that by accessing the page in field Intercepts would show the wizard, but it no longer works.

Community Alums
Not applicable

So, my interpretation of an interceptor a module where you can configure a list of multiple options,

As an example you could create an interceptor to create a new change request but instead of the change type being dictated on the form its done through links, I suppose you can hand hold to a certain extent the end user.

Example,


find_real_file.png

Its not limited to change request obviously you can get as creative as you want.

Please mark as helpful or if its resolved the issue, correct!

 

Mohammed Faazi2
Tera Contributor

Basically, Interceptors respond to the URL we hit, and load the response according to the templates we configure. 

so, if say change_request.do is being called, interceptors run before placing a browser request and gets the response accordingly. 
Each of the answers setup for the interceptor question redirects to the type/template of the task/record and loads the form to the user to perform the actions.