Audit history logs 2 times or 3 times

VinuvarshitSR
Giga Expert

I have a CMDB-extended custom table where I have enabled auditing in the collector dictionary. When I save the form, the record gets saved, but it is saved two or three times. When I check the activities, I see three or two logs. I am not sure why this is happening. I have checked everything, including Flow Designer and business rules. I found that none of the tables have any custom scripts or Flow Designer processes running. What could be causing this issue, and how can I ensure it reflects only once? I track with help of Activates

 

2 ACCEPTED SOLUTIONS

Mark Manders
Mega Patron

Check any BR with 'current.update()' that could be updating it a second time.


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

View solution in original post

Ankur Bawiskar
Tera Patron
Tera Patron

@VinuvarshitSR 

Definitely some business rule or some script is running.

Since your table is extending CMDB, did you check any business rule from parent is running on your child table

Try to debug the business rule using script tracer

Debugging Business Rules 

Script Tracer and debugging scripts 

Also you can enable debug business rule details and once you save you will get to know the list of Business rules which triggered on insert

AnkurBawiskar_0-1743580270537.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

View solution in original post

5 REPLIES 5

Ankur Bawiskar
Tera Patron
Tera Patron

@VinuvarshitSR 

Definitely some business rule or some script is running.

Since your table is extending CMDB, did you check any business rule from parent is running on your child table

Try to debug the business rule using script tracer

Debugging Business Rules 

Script Tracer and debugging scripts 

Also you can enable debug business rule details and once you save you will get to know the list of Business rules which triggered on insert

AnkurBawiskar_0-1743580270537.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader