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.

How to check attachments upon submitting catalog item?

Lakshmiprasann6
Tera Contributor

Hi,

I have a query regarding attachments its always having a confusion with attachments. While submitting form we need to check if user has attached 2 attachments we should allow to submit else abort the action.

How can we achieve this requirement and what is the best practice in Servicenow? I even referred DOM manipulation and some sort of leads whereas using GlideRecord in onSubmit which is not preferrable.

Please help me to get this requirement.

1 ACCEPTED SOLUTION
5 REPLIES 5

Sagar Pagar
Tera Patron