Incident reassignment count is incorrect

Sateesh Kumar 1
Tera Contributor

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

1 ACCEPTED SOLUTION

SN_Learn
Mega Patron

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:

SN_Learn_0-1722486149321.png

 

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.

 

 

View solution in original post

5 REPLIES 5

Sandhya Devendr
Mega Contributor

Hi, 

I am facing the similar issue, If any solution has been found Can you please post it here?