Notifications

2 views

Description

"Save" UI Action is not working and the following error is displayed:

Duplicate entry 'sys_id' for key 'PRIMARY')

 

Cause

  1. UI Action (UI action rather than updating, is trying to create a record with the same sys_id )
  2. Business rule (the error generally pop-up when you have "current.update() " in your before Business Rule)

Resolution

Different ways to solve this issue:

  • Identify the Business rule and review it as the error generally occurs when you have "current.update() " in your before Business Rule
  • Review your UI action, the script part by setting it to current.update(), rather than current.insert()

 

Article Information

Last Updated:2019-08-19 07:00:46
Published:2019-08-19