- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi,
I was trying to create a new HR group and getting error as" Invalid Insert".
Can anyone help on this?
Thank you.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @VimalaS
Validate following things:
1)The Name field for a group must be unique. If you are trying to create a group like HR Admin, verify it doesn't already exist in your environment.
2)If fields on the group form are marked as mandatory but left blank, the system will abort the insertion. To reveal hidden mandatory fields, reset your view to the Default view.
3)If you are creating an HR-scoped group in the Human Resources Scoped Application, ensure your Application Scope at the top of the screen is set to the correct HR application rather than Global
4) If you are Admin, navigate to System Definition > Business Rules and
check for any before insert rules on your target table if it contains current.setAbortAction(true) that might be triggering the restriction.
refer: https://www.servicenow.com/community/developer-forum/invalid-insert-when-creating-group/m-p/2938580
KB1005894 Trying to create/insert a new record, getting "Invalid update"
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
3 weeks ago
As per docs you should have either of these 2 roles to do this
Do you have that?
If not then give and then logout and login and then try
💡 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
3 weeks ago
Hi ,
do you have role: sn_hr_core.admin, user_admin when creating a new HR group?
Kind regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @VimalaS
Validate following things:
1)The Name field for a group must be unique. If you are trying to create a group like HR Admin, verify it doesn't already exist in your environment.
2)If fields on the group form are marked as mandatory but left blank, the system will abort the insertion. To reveal hidden mandatory fields, reset your view to the Default view.
3)If you are creating an HR-scoped group in the Human Resources Scoped Application, ensure your Application Scope at the top of the screen is set to the correct HR application rather than Global
4) If you are Admin, navigate to System Definition > Business Rules and
check for any before insert rules on your target table if it contains current.setAbortAction(true) that might be triggering the restriction.
refer: https://www.servicenow.com/community/developer-forum/invalid-insert-when-creating-group/m-p/2938580
KB1005894 Trying to create/insert a new record, getting "Invalid update"
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
3 weeks ago
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
As per docs you should have either of these 2 roles to do this
Do you have that?
If not then give and then logout and login and then try
💡 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