Ankur Bawiskar
Tera Patron

@Vijay kumar S 

where will the user add file? is it catalog form?

If yes then you can have attachment type variable and then validate the file

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

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