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 validate the file attached to catalog before submitting the request

Ramya Sanaboyi1
Tera Contributor

I want to validate the attachment name, format and the data in the file before submitting the catalog request.

4 REPLIES 4

Yashsvi
Kilo Sage

Hi @Ramya Sanaboyi1,

 

This is highly not recommended by ServiceNow.

Please refer to the following thread:

 

https://www.servicenow.com/community/itsm-forum/attachment-name-and-type-validation-before-submittin...

 

Thank you, please make helpful if you accept the solution.

 

 

Ramya Sanaboyi1
Tera Contributor

Hi @Sandeep Rajput , thanks for the reply.

I tried the script from this post, but it is working in the backend only. I need this to work in csm portal as well. Can you pls help