Issue with File Attachment Field Navigating to Another Section
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
I have a form with two sections:
- Section 1 contains a field of type File Attachment.
- Section 2 contains two mandatory fields.
When a user uploads a file using the File Attachment field in Section 1, the file uploads successfully, but the form automatically refreshes/saves and navigates to Section 2 where the mandatory fields are located.
There are no Client Scripts, UI Policies, Business Rules, or customizations related to this behavior. The File Attachment field was simply added to the form.
Is this expected behavior for the File Attachment field type? If so, is there any way to prevent the form from automatically navigating to the section containing mandatory fields after the attachment is uploaded?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
no you can't as it's OOTB behavior
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
34m ago
You can not avoid.
If you want (change in design )- section 2 mandatory fields you can place in Section 1. ,so that after page refreshes, it will look for mandatory fields. and you can see section1 only . Try it.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
No its not a catalog item.Its a field in backend table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
In ServiceNow, the auto-saving and refreshing behavior when a File Attachment field is populated happens because ServiceNow automatically commits the upload to the sys_attachment table, triggering a form reload.
It is expected OOB feature.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti