Notification is getting triggered twice.

kalakaramad_20
Tera Contributor

kalakaramad_20_0-1686809897486.png

This is on sc_task table still its getting triggered 2 times. 

 

7 REPLIES 7

Triggred at same time  .

In condition and is used  not or 

Tony Chatfield1
Kilo Patron

Hi, unfortunately partial screenshots don't add a lot od diagnostic value. Have you checked the email logs and confirmed that it is definitely the same notification that is being triggered twice? Most often the issue is multiple different notifications, with same or similar conditions, being triggered.

Jon G1
Kilo Sage

I just found the answer to this and posted on a different thread, but since this seems to be the most recent and concise thread about this problem, I thought I should post the answer here too:

 

There is a global business rule called "global events" that contains this line:

 

 

if (current.operation() != "insert" && current.comments.changes())
		gs.eventQueue(name + ".commented", current, gs.getUserID(), gs.getUserName());

 

 

So if you're creating your own "task.commented" type of rule, you probably don't need to.  This global already does that. If you really want to trigger your own event, you can use something other than "commented" in your BR and your notification definition.