Event Trigger but Notification is not sent

Vibhor
Tera Contributor

Hi,

What are all possible cases if the Event gets triggered but the notification is not send.

I have checked at my end for event name in Notification as well in Workflow and that has been correctly used ,please suggest cases other than this.

I have a scenario for which I am triggering the Notification from Workflow and for this I have set the event activity in Workflow that do trigger but notification is sent.

Also the notification that needs to be triggered is the value of the variables of request item,So in the notification "Whom to send" has the user in parm1 that must receive the notification.

Please be advisable if there is something missing at my end.

Thanks

Vibhor

4 REPLIES 4

Uncle Rob
Kilo Patron

Check your event log to see if the event even triggered properly


Check email table to see if a notification was created with no recipients.   That will tell you if your event parameter is being handled correctly.


Check your notifications to ensure that there aren't additional conditions beyond the event trigger.


Vibhor
Tera Contributor

Hi Robert,



I do check for the point 1 - and the event is triggered correctly with correct recipients in parm1 and parm2


For point 2 notification is not getting triggered for the requester of the item but it does get triggered for the printer- assignee.


But can you please clarify more for the point "Check your notifications to ensure that there aren't additional conditions beyond the event trigger."



For getting the event triggered I am using the if condition in workflow activity



answer = CheckUsersRequester();


function CheckUsersRequester(){


if(current.variables.printer.assigned_to != current.request.requested_for){


return 'yes';


}


else


{


return 'no';


}


}



find_real_file.png



So if you will see the workflow then the first event must be triggered every time but second event must be on the basis of if condition mentioned above.


And whenever I am setting the key user and requested for as equal then the first event also does not get triggered.


Vibhor
Tera Contributor

one thing more I forget to mention is that here key user is the value of (printer - assigned to).


Ok, so if the event is triggering correctly that leaves 2 possibilities.


1)   Your notification has extra conditions beyond just looking for the event.


find_real_file.png



2)   The target users aren't getting passed in event parameters correctly.