Question

Business Rule Running Twice

  • 30 January 2024
  • 5 replies
  • 71 views

Userlevel 1
Badge +5
  • Sidekick (Customer)
  • 10 replies

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

Userlevel 6
Badge +26

Hi @qquac 

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

Cheers!

Badge +3

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

Userlevel 1
Badge +5

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

Userlevel 6
Badge +26

@qquac 

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

Cheers!

Userlevel 1
Badge +5

@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

Reply