Issue with Multi-Row Variable Set Attachment Field Causing AngularJS Error on Record Producer

KapileshS
Tera Contributor

I'm working on a Record Producer in the Service Portal within a scoped application (x_icpa_gbs_ap_in_0). I've added a Multi-Row Variable Set (MRVS) that contains:

  • A file attachment field
  • A choice field

The MRVS is working as expected most of the time. However, intermittently, when I click the upload button to attach a file, I get the following AngularJS console error:

 

Error: [$rootScope:inprog] http://errors.angularjs.xlts.dev/1.5.23/$rootScope/inprog?p0=%24apply
    at js_includes_sp_libs.jsx?v=08-22-2025_1958&lp=Mon_Sep_22_21_35_30_PDT_2025&c=21_611:30:431
    at n (js_includes_sp_libs.jsx?v=08-22-2025_1958&lp=Mon_Sep_22_21_35_30_PDT_2025&c=21_611:165:271)
    at m.$digest (js_includes_sp_libs.jsx?v=08-22-2025_1958&lp=Mon_Sep_22_21_35_30_PDT_2025&c=21_611:169:500)
    at m.$apply (js_includes_sp_libs.jsx?v=08-22-2025_1958&lp=Mon_Sep_22_21_35_30_PDT_2025&c=21_611:173:363)
    at HTMLDocument.eval (cathay_standard_ticket_header.js:15:12)
    at HTMLDocument.dispatch (js_includes_sp_libs.jsx?v=08-22-2025_1958&lp=Mon_Sep_22_21_35_30_PDT_2025&c=21_611:17:7496)
    at HTMLDocument.<anonymous> (js_includes_sp_libs.jsx?v=08-22-2025_1958&lp=Mon_Sep_22_21_35_30_PDT_2025&c=21_611:17:5569)
    at Object.trigger (js_includes_sp_libs.jsx?v=08-22-2025_1958&lp=Mon_Sep_22_21_35_30_PDT_2025&c=21_611:18:4637)
    at HTMLInputElement.<anonymous> (js_includes_sp_libs.jsx?v=08-22-2025_1958&lp=Mon_Sep_22_21_35_30_PDT_2025&c=21_611:18:5190)
    at n.each (js_includes_sp_libs.jsx?v=08-22-2025_1958&lp=Mon_Sep_22_21_35_30_PDT_2025&c=21_611:16:2888)

 

 

After refreshing the page, the upload works fine without any error.

 

 

KapileshS_0-1758649847610.png

 

2 REPLIES 2

Brad Bowman
Kilo Patron
Kilo Patron

This could still be a valid question, but you need to know, and/or include in the inquiry that Attachment variable types are not intended to be included in Multi Row Variable Sets per the out of box Business Rule on the item_option_new table named "Restrict types for table variable set".

kaushal_snow
Mega Sage

Hi @KapileshS ,

 

It's likely due to the default restriction that prevents attachment variables from being included in MRVS. This restriction is enforced by the OOB Business Rule named Restrict types for table variable set on the item_option_new table...

 

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.

 

Thanks and Regards,
Kaushal Kumar Jha - ServiceNow Consultant - Lets connect on Linkedin: https://www.linkedin.com/in/kaushalkrjha/