How to handle multiple uploads inside a single Catalog Item variable in Service Portal?

NikhithaNikki
Tera Contributor
Hi Community,
I am working on a Service Portal Catalog Item requiring conditional attachment validation on submission. Based on form answers, a user might need to attach multiple files (e.g., up to 2 or more files).
I am encountering a platform limitation and a script execution error that I need your guidance to solve.
 
1. The Variable Limitation Issue
I am using a Catalog Variable of type Attachment. However, when testing in the Service Portal, this variable type acts as a single-file slot. Whenever a user uploads a new file, it replaces/overwrites the previous attachment instead of adding it to a list. [1, 2, 3, 4]

NikhithaNikki_0-1781600826267.png

 

Is there an out-of-the-box configuration to allow a single attachment variable to accept multiple files
5 REPLIES 5

Ankur Bawiskar
Tera Patron

@NikhithaNikki 

Attachment type variable only allows 1 file at a time.

Why not use the OOTB paper-clip icon and ask user to upload files using that while submission?

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader