Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Attachment validation on catalog item on submit

Devi16
Tera Contributor

Hi Community,

I have some requirement like I have to check and validate something on attachment.

While submitting catalog item I have to check, user attached the attachment or not, if yes need to validate right attachment or not and, if yes, I need to check that attachment has 50 records or less than 50 records in that.

we have some field on the catalog form like attachment, it holds (true/false) values.

 

5 REPLIES 5

@Rdevi 

you can enhance the code further to check the attachment file extension etc when attachment is present.

Regards
Ankur

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