- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2024 11:39 AM
Hi,
I am getting this error when I click on "Accept" button on Idea form.
How to fix this?
Thanks,
Vaishnavi
Solved! Go to Solution.
- 1,027 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2024 11:06 AM
Hi @Vaishnavi35 ,
Based on shared log details, there is insert query running over task table which is adding program record, and the sys_id showing in the unique key voilation belongs to one of PGM record.
Please check the code without this PGM record code, comment that part and test it again. It should work.
-Thanks,
AshishKM
Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2024 04:22 AM
Hi @James Chun ,
I have installed the Chrome plugin. Do I have to search with sysID in Tables column? Because I did and no records to display.
I have search in all the tables you mentioned. Here as well it says no records to display.
Thanks,
Vaishnavi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2024 09:01 PM
Hi @Vaishnavi35,
You can use the slash command, i.e. /sysid {your sysid}
e.g.
If there is a record with the sys_id, it will show where the record resides.
Once that is determined, we can investigate further what is causing the issue.
Additionally, have a look at the system log as well. It can indicate where it's coming from.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2024 06:31 AM
Its coming from Program record. PGM Record.
Its not creating a record in Program table, whatever sys_id is shown in the error is actually the sys_id of the existing program record.
But in my code "BR to create RITM when Idea is Accepted" , I have not used or referenced program table. You can check in the code above.
Thanks,
Vaishnavi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2024 01:25 PM
Maybe you have a process on another table that is creating the same PGM record?
Do some debugging with Script Tracer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2024 08:06 AM
Hello Vaishnavi35,
Disable this line of code and verify if the problem still persists.