How to stop duplicate events being fired if the user ID is the same?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2025 07:04 AM
I've got a flow Action where I'm trying to stop group managers of tasks in the 'x_lbg_group_recert_grp_recertification' table receiving the same email more than once.
I'm using the following inputs:
I'm trying to use the below script to put all of the group managers into an Array and to stop any duplicate user Sys IDs from being added:
The flow is being triggered by a scheduled job when records within the x_lbg_group_recert_grp_recertification table are being created. However, what I'm finding in the logs is that the same user Sys ID is generating more than once, and the events are not being generated.
I was just wondering if someone else has faced this issue before and what I need to do to stop potentially duplicate emails being sent to the same group manager.