Email Notification getting Triggered Twice

Amey3
Giga Expert

Hello All

I have one Catalog Item. once all the approvals and Task getting finished, we use to send an email notification.

The same email notification is getting triggered twice.

we have email scripts, notification, event used for this process.

Any Help on this?

where should I start diagnose this issue?

Thanks

1 ACCEPTED SOLUTION

Gaurav Shirsat
Mega Sage

Hi Amey

I have resolved my issue.

1) There were discrimination between the Notification Trigger Conditions.

2) in Catalog Task,  users was only requested_for instead of request.requested_for

3) Also Run Script added to set the Req and RITM Stage, State we used the update() and in notification also insert or update was checked.

4) One More change I performed which did cameo for me is, when to send condition:- state changes to <condition> before it was state is <condition>

 

Please check anything of these would work for you or not?

Please Mark Correct and Helpful

Thanks and Regards

Gaurav Shirsat

View solution in original post

11 REPLIES 11

Hi Ashok

The Event for me Triggered only Once.

My Notification trigger is purely based on RITM Conditions and Task Conditions.

we have separate notifications for RITM Approved, RITM Approval Pending and RITM Rejected.

similarly for 

Catalog Task is Closed Successful or Closed Rejected. I have issue here of being triggered twice

Thanks

Gaurav Shirsat
Mega Sage

Hi Amey

can u tell me what steps did you follow for diagnose?

we are facing similar issue with couple of catalog items.

the appropriate one aren't overriding the one which are triggered..

Any inputs from you would help

Please Mark Correct and Helpful

Thanks and Regards

Gaurav Shirsat

issue is pending from long time. but because of low priority, I didn't touch that case from so long.

I have checked in my Workflow, but notification is getting triggered from notification, email script, and event modules.

states of RITM are set in workflow run script.

there I checked few things.

Thanks

Amey

Shao
ServiceNow Employee
ServiceNow Employee

System Logs > Email

You should be able to see if there're two emails being sent and look for the Originating Event and Notification.

Hi Already tried things in logs. emails. both are getting triggered exactly at same time .lets say currently at 3:30 and another also at 3:30.

I think I need to diagnose things in workflow scripts, that should match with notification when to send, and conditions.

Thanks