Skip to main content
Question

Business Rule Running Twice

  • January 30, 2024
  • 5 replies
  • 129 views

Forum|alt.badge.img+8

Hello,

We have a business rule that is running twice resulting in duplicate records in the event_history table. Do you know what could possibly be causing this? Do you know if there is a XML that can delete the duplicate record?

5 replies

Shneor Cheshin
Superhero (Employee)
Forum|alt.badge.img+28
  • Superhero (Employee)
  • January 30, 2024

Hi @qquac 

It would be a good idea to share some more details like - the BR configurations and the problematic scenario.

Cheers!


Forum|alt.badge.img+4
  • Do Gooder (Partner)
  • January 30, 2024

Hi @qquac,

 

This issue primarily occurs due to incorrect mapping in Input Parameter Conditions. If you are validating based on changes in field values, consider using comparisons between the old value and the new value. Additionally, when validating parameters for non-null conditions, include other parameters to ensure that the condition is not satisfied again. There are various scenarios leading to looping issues, so a thorough review of your input parameter conditions is likely to resolve the issue.

Thanks,

Hariharan P


Forum|alt.badge.img+8
  • Author
  • Sidekick (Customer)
  • February 16, 2024

Thank you for your replies. There was a bug found in the system.


Shneor Cheshin
Superhero (Employee)
Forum|alt.badge.img+28
  • Superhero (Employee)
  • February 18, 2024

@qquac 

Can you please share what was the bug? What is the fix?

Cheers!


Forum|alt.badge.img+8
  • Author
  • Sidekick (Customer)
  • February 22, 2024

@qquac

Can you please share what was the bug? What is the fix?

Cheers!

Duplicate records exist in the event history for person_place. The Business Rule is configured correctly but is being executed twice. The issue has been fixed in UPD 28