Notifications are triggering Multiple Times.

Kruthik M Shiva
Tera Contributor

Hi All,
I am facing an issue with notifications where same notification is getting triggered multiple times. In my case I am triggering a notification when event is fired, and I have called the event in one of the UI actions if user clicks on that UI action is clicked it is triggering multiple times. What could be the issue and how to resolve it please share if anyone has pointers.
Thanks in advance.

8 REPLIES 8

Harish KM
Kilo Patron
Kilo Patron

Hi @Kruthik M Shiva can you share your UI Action script?

Also Notification conditions When to run

Regards
Harish

Hi Harish,
Script:

current.status = 'Closed Incomplete';
current.update();
action.setRedirectURL(current);
gs.eventQueue('x_infte_records_of.Reject to closed inco', current);
Thanks,

Hi @Kruthik M Shiva Upon checking your script, your triggering Notification when state changes to close incomplete, you dont need to create a event for this you could directly put condition in notification  i.e

when to run: state changesTo CloseIncomplete

and update( checked to true)

Regards
Harish

Nope Harish the notifications are triggered when Reject and Cancel Ui Action is clicked and for both cases we have different notifications and UI action, but only setting state to closed incomplete in both cases. So only we have created event and triggering notification when event is fired.