Notification triggering twice

SNow35
Giga Guru

Hello,

I have a knowledge notification which should be sent to author of the article whenever the approver rejects it. I have created an event and triggering it in after update business rule.

Created a notification and checked event param 1 and send to event creator checkbox, now the notification is going twice when the article is rejected. Please let me know if I need to make any other changes.

Thanks in advance.

1 ACCEPTED SOLUTION

Hello,

I want to get the rejection comments in the notification which is available on the approval table, if I trigger the event from workflow I wont be able to populate the comments.

Do you have any thought on how this can be populated while triggering it from workflow.

 

View solution in original post

14 REPLIES 14

Harish KM
Kilo Patron
Kilo Patron

What is your BR condition?

 

It should be like something

if (current.state.changesTo('rejected'))

 

or 

state changesto rejected in filter condition

Regards
Harish

felladin
Tera Guru

Hello,

Is it the same notification being sent, or two notifications to author regarding rejected approval?
If it's the latter issue, go through Notifications to see if there are any other that may trigger. They should be for either table knowledge or approval (there might be something in the Knowledge workflow or an approvals condition that trigger the second notification).

And unless approver is the same as author, you do not need "Send to event creator" marked. You don't need it marked anyway, the author would know if they themselves reject the article.

With regards
Anton

Hello,

 

If I check only event param1 it is not sending the notification but event is triggered twice.

 

Your trigerring the even through after business rule? After BR will update each time when the record getz updated and this also can be the reason for triggering notification twice.

Put a log in BR and check does it run 2 times and trigger the event twice?

 

Regards
Harish