Service Operation Workspace incident task interceptor?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2025 08:34 AM
Is there a replacement for the ITSM interceptor?
I see one for change task and one for problem task, but not one for incident task. I've added entries in the Record Type Selectors table for incident_task.
I copied the code in Create Change Task UI Action to the Create Incident Task then modified it to openIntercetorModel with incident task, but it does not work.
Is there a step I'm missing?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2025 08:38 AM
Hi @kimberlylp
Any screenshot possible?
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]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2025 10:55 AM
This is what comes up when I create a problem task.
I'd like the same type of modal to come up when I create an Incident task, but with incident task choices provided in the record type selectors list I populated with incident_task choices.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2025 08:53 AM
Hey @kimberlylp
Interceptor Availability**
- ServiceNow provides interceptors for **Change Tasks** and **Problem Tasks**, but there isn’t a default one for **Incident Tasks**.
- This means that simply adding an entry in the **Record Type Selectors (sys_record_type_selector)** table won’t be enough.
2. **Why `openInterceptorModal` Might Not Work**
- The `openInterceptorModal` function works only if an interceptor record exists for the given table.
- If no interceptor exists for **incident_task**, the UI action will likely fail or do nothing.
### Solution:
Since there is no built-in interceptor for **incident_task**, you need to:
1. **Create a New Interceptor**
- Go to **sys_ui_interceptor** table (`/sys_ui_interceptor_list.do`) and create a new one for **incident_task**.
- Define necessary inputs and processing logic.
2. **Modify Your UI Action**
- If an interceptor exists, the **Change Task UI Action** should work similarly for **Incident Task**.
Kindly mark my answer as helpful and accept solution if it helped you in anyway. This will help me be recognized for the efforts and also move this questions from unsolved to solved bucket.
Regards,
Shivalika
My LinkedIn - https://www.linkedin.com/in/shivalika-gupta-540346194
My youtube - https://youtube.com/playlist?list=PLsHuNzTdkE5Cn4PyS7HdV0Vg8JsfdgQlA&si=0WynLcOwNeEISQCY
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2025 10:43 AM
Thanks for your response Shivalika,
I do not have a **sys_ui_interceptor** table (`/sys_ui_interceptor_list.do`). I checked out a dev instance and it does not have that table either. Could it be another name? I believe this might be my missing step if I could identify where to add an interceptor.
Also, my record type selectors table is sn_sow_interceptor_record_type_selector.