Restrict User to submit form if User Attach CSV file and contain Invalid email domain
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2025 08:22 PM
hi,
I want to achieve a task in which restrict the users to submit the catalogue item if user attach a csv file and contains invalid email domain in it. Also alert user to highlight the row number in which error occur.
There is only one column in the file.
can somebody help on it.
thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2025 09:31 PM
what did you start with and where are you stuck?
see if this link helps and enhance your script, I shared solution on how to validate file when file is attached to attachment variable
Validate Excel Data and populate in MRVS
Validations on MRVS - validate Employee ID
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2025 05:47 AM
hi ankur,
I am using below script but it give me attached error.
