Attachment should allow only Excel files in Record producer

thaduri sai
Tera Contributor

Hi Team,

 

We have a record producer in OOB attachment. we have to allow only excel files. How to achieve this?

1 ACCEPTED SOLUTION

Vrushali  Kolte
Mega Sage

Hello @thaduri sai ,

 

You can achieve this requirement by populating variable attribute of attachment variable type as "allowed_extensions=xls;xlsx".

VrushaliKolte_0-1723445013098.png

 

Please refer below link for more info -

https://www.servicenow.com/community/developer-forum/how-to-validate-attachment-to-accept-only-jpg-f...

 

If my answer solves your issue, please mark it as Accepted ✔️& Helpful👍!

View solution in original post

7 REPLIES 7

Hello @thaduri sai ,

Thanks for the reply.

Please refer below KB articles from servicenow.

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0718013

Go to system properties> security> update property as below -

VrushaliKolte_0-1723446436502.png

If my answer solves your issue, please mark it as Accepted ✔️& Helpful👍!

@Vrushali Kolte , if we are changing above system propertie this will effect for all attachments. We need nly for 1 specific record producer?

Ankur Bawiskar
Tera Patron
Tera Patron

@thaduri sai 

I will recommend using attachment variable for your record producer instead of paper clip icon

It will be difficult to validate using the OOB paper clip icon

If my response helped please mark it correct and close the thread so that it benefits future readers.

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