When a new incident is created, two Business Rules (insert + update) are triggered, why?

Lisa71
Tera Contributor

I found that when a new incident is created,  both Business Rules (insert + update) we created are triggered, why? We suppose only the "insert" Business Rule should be triggered. 

 

From the incident log/notes, seems it first creates an incident, then update the parameters in, is it expected? Then how to resolve the both BR are triggered issue? Thanks.

2 REPLIES 2

nik_au
Tera Contributor

Havent accidentally added a current.update in the script??

Mark Manders
Mega Patron

What are your BR's doing? 

And you indeed need to check on any logic that updates the incident. It can very well be that a flow or other BR sets the state (example) and that your BR triggers on that. If both BR's need to do the same, use insert or update in one rule. Inserts often also give updates, but without knowing what you are doing, we can only guess as to what the update is.


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