Teams Notification Provider Duplicates
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2024 04:26 AM
Hello
I have integrated ServiceNow and teams. The notification provider sends out message on teams every time the stage changes.
But its sending out duplicates.
The notification event is getting triggered twice but on the requested item the flow sets the stages.
Can anyone please let me know what could make the notification trigger twice?
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2024 05:22 PM
Hi, perhaps the update is triggering another update
Do you have any before\after business rules on the table that trigger current.update() ?
You could start by enabling BR debug and see if you can identify any repeat/recursive updates for the table.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2024 06:52 AM - edited 07-11-2024 06:53 AM
Hello @Tony Chatfield1
The issue was at the Flow Designer level. The stage was being set before the "if" loop checked if the item should go for line manager approval.
I have now moved the "Add Stage" step inside the loop, and it is working fine.
Thank you for your assistance!
Best regards,
Khushboo