- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2022 12:47 AM
When a case is created using a record producer, we want the name of the producer to be updated in one of the custom field on the case form.
Solved! Go to Solution.
- Labels:
-
Multiple Versions
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2022 12:19 AM
Hi,
you mentioned your custom field is reference to sc_cat_item_producer table
So you just had to use this and use correct field name
cat_item.sys_id -> gives sysId
current.u_customField = cat_item.sys_id;
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2022 09:41 PM
Hi @ravikiran0688 ,
try the below code
current.u_custom_field_name.setDisplayValue(cat_item.name);
Regards,
Mahesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2022 12:54 AM
Hi
Thank you for marking my response as helpful.
If my response helped please mark my response as correct & helpful
Regards,
Mahesh