Security Incident created from classic Ui
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
15 hours ago
Hello Everyone,
I have below requirement:-
I want to set Source field as “Backend” if security incident is getting raised from classic Ui of servicenow . How to achieve this ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
15 hours ago
You can easily set the Source field to Backend by creating a Before Insert Business Rule on your Security Incident table and within it use something like if (!gs.action.getGlideURI().toString().startsWith('api/now/sp')) { current.source = 'Backend'; } to detect that the record is being created via the classic UI rather than Service Portal.......
If you found my response helpful, please mark it as ‘Accept as Solution’ and ‘Helpful’. This helps other community members find the right answer more easily and supports the community.
Kaushal Kumar Jha - ServiceNow Consultant - Lets connect on Linkedin: https://www.linkedin.com/in/kaushalkrjha/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
15 hours ago
Hello @kaushal_snow ,
I want to create 2 business rules :-
1- For portal created Security incidents in this case source= Portal.
2- For Classic ui created Security incident in this case source= Backend.
can you please elaborate more about the solution?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
14 hours ago
how and from where are they creating from portal other than classic UI?
is there any record producer?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
