- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2024 02:21 AM
Hi All,
Incident Re-assignment count showing incorrect.
When Incident opened and assigned to initial group (assignment group), the reassignment count showing 2.
later if we update the assignment group for the first time (Group A --> Group B) the reassignment count incrementing from 2-->4 (increasing 2 times).
when I check the Assignment group history it's adding twice.
I have attached screenshot and log file.
please help me with this??
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2024 09:14 PM - edited 07-31-2024 09:29 PM
Hi @Sateesh Kumar 1 ,
The business rule responsible for counting the reassignment is named 'reassignment counter' which is on task table.
The condition is :
current.assignment_group.changes()
Script:
current.reassignment_count += 1;
Could you please check if these have been amended?
Also, looks like this the update is happening twice due to usage of current.update()
Navigate to Business Rules[sys_script] table and use the below filter:
Now review the script and check the below:
- In case of before insert OR update Business Rule, if current.update() is found in the script then you should not be using it, remove it.
- In case of after insert OR update Business Rule, if current.update() is found in the script then you need to use setWorkflow(false), this will avoid running Business rules or Workflows.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
17m ago
Hi,
I am facing the similar issue, If any solution has been found Can you please post it here?