In SOW view need to set field value.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2025 05:01 AM
Hi Team,
Given that I am a SOW user in the ITSM space
When I open an interaction ticket
Then the Custom Product field on an Interaction is set to Incident
How to achieve this.
Regards,
Abhilasha G T
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2025 05:13 AM
you can use onLoad client script on interaction table which applies to workspace view and then set the field you want
what did you start with and where are you stuck?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2025 06:24 AM
Hi Ankur ,
i have written BR for that,
Product field is not available on the form , in list we can see , and i want to set the View as SOW.
Regards,
Abhilasha G T
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2025 06:39 AM
try this in business rule script if that works
var isPresent = gs.action.getGlideURI().toString().indexOf('viewname') > -1;
if(isPresent){
// your logic to set the field
}
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2025 03:46 AM
hi Ankur,
i tried BR, it's not working,
Product field is a reference field to product inventory
any code like onsubmit client script with script include?
Regards,
Abhilasha G T