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 restrict other attachment type and allow only email attachment type in a field Record producer service portal?

Sirisha Navudu2
Giga Expert

Hi,

  In record producer we have a field which is of attachment type, so where we want to allow only email type of attachment and restrict other type of attachments or files or documents(eg: excel). How to achieve this. provide any solution?

 

Thanks & Regards,

Sirisha.

 

 

1 ACCEPTED SOLUTION

SumanthDosapati
Mega Sage
Mega Sage

Hi @Sirisha Navuduri ,

In Variable attributes you can restrict the attachment type by extensions.

For example:

You can use allowed_extensions=pdf;txt    etc

 

For email type it should ideally be allowed_extensions=msg

 

Mark the answer as correct if it works

Regards,

Sumanth

View solution in original post

1 REPLY 1

SumanthDosapati
Mega Sage
Mega Sage

Hi @Sirisha Navuduri ,

In Variable attributes you can restrict the attachment type by extensions.

For example:

You can use allowed_extensions=pdf;txt    etc

 

For email type it should ideally be allowed_extensions=msg

 

Mark the answer as correct if it works

Regards,

Sumanth