@Shantharao 

then you can try to use DOM manipulation and extract the file size and throw error

I don't think you can validate the file size during catalog item submission.

1) search anchor tag with this class "get-attachment ng-binding ng-scope"

2) iterate and extract the file name which includes the size

3) do string manipulation and grab the size in either KB, Bytes or MB

4) then add and validate

Example: I added 3 files so it will have 3 anchor tag with that class, you can extract the text within that anchor tag and do the next steps

AnkurBawiskar_0-1759733715579.png

 

 

AnkurBawiskar_1-1759733715606.png

 

 

AnkurBawiskar_2-1759733715604.png

 

 

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