Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

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  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader