Ankur Bawiskar
Tera Patron

@D V Sandeep 

why are you concerned about file name in attachment type variable?

you can write onChange catalog client script on that Attachment type variable and use GlideAjax to validate it

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

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