How to Make Attachment Mandatory in Record Producer ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2022 01:01 AM
I created a Record Producer and want to make attachment mandatory when service changes and before submission of the Record Producer.
When I added one file from record producer then I saw it stored that file in attachment table as sn_customerservice_case in table name column instead of sc_cart_item_producer . so i did put query as
getAtt.addQuery('table_name', 'sn_customerservice_case');
Attachment Table Screen shot :
but it's not working.
How can I able to do it , please help me ?
Note : Application Scope : Customer Service
My Script Include Code :
My Client Script Code :
- Labels:
-
Change Management
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2022 03:53 AM
Hi Musab ,
Thanks for replay.
i have 1 doubt , what is isolated script why he marked as false.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2022 04:19 AM
Check this out
https://www.servicenow.com/community/developer-blog/isolate-script-in-london/ba-p/2275821
Regards,
Musab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2022 04:48 AM
Hi @BlackCoder16 ,
On record producer,you can check the "mantadory attachment" in portal settings.
Thanks,
Sanket