Reassignment counter increased by 2 for single change in assignment group
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Wednesday
In my ServiceNow instance Reassignment counter is getting increased by 2 for single change of assignment group. This is an intermittent issue. As per ServiceNow support this is occurring due to custom "Save" button on form. Following is the condition and script for the "Save" button. Can someone help me to understand what is in the script that is causing the issue
Condition : !(current.isNewRecord() && !current.canCreate()) && current.canWrite()
Script:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thursday
Hi @Ankur Bawiskar
As per ServiceNow the custom "Save" UI action is responsible for the issue and due to customisation they can not provide support beyond this. Hence I am troubleshooting the script to understand the root cause.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thursday
how is the behavior when you disable this custom Save button?
is the record getting updated 2 times?
Do you see the sys_mod_count (Updates) field increment 2 times?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thursday
@Ankur Bawiskar ,
The main catch here is neither me nor ServiceNow is able to reproduce the issue. ServiceNow checked the logs for affected records and the common link that they found is UI action "Save" .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thursday
sorry can't help in this then as we don't have access to your instance.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thursday
is your UI action's "Action name" the same name as another UI action available to the table? try renaming the custom UI Actions "Action name" and see if it still saves 2x.
