How to use interceptors

bonsai
Mega Sage

I would like to use an interceptor (sys_wizard) to change the record form screen after the user clicks the new button.
The image to be implemented is the screen when you press the new button on the list screen of the Task [Task] table.

I don't know how to use interceptors.
Is the new button a UI action?

1 ACCEPTED SOLUTION

Hi @bonsai 

 

I am not sue but code writing is not possible or work here. The only this if a user click /select the onhold will take to new page/ form. This is what interceptor do.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

View solution in original post

8 REPLIES 8

I would like to display the selected value (value field, not the label) when the execute button is clicked.

 

Can it be operated with "current~"?

Hi @bonsai 

 

I am not seeing any business value in this use case. What you will achieve by showing the value. I am not sure current. work or not. give a try. But for me it is a use case of interceptor.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

The original purpose of use was to display options from another table like an image, and display a new record screen associated with the selected value.

I wanted the selected value to be tied to the view name.
If you can get the value of the option by executing the button, you can understand the subsequent processing, but
I couldn't figure out how to get the value of the option by button execution. . .

Hi @bonsai 

 

I am not sue but code writing is not possible or work here. The only this if a user click /select the onhold will take to new page/ form. This is what interceptor do.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************