Need to trigger a flow only every time a new event is added to the alert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-16-2025 10:50 AM
We have a requirement to trigger the flow only when a new event is added to the existing alert.
So, the flow should be triggered when :
- the first event comes in and event gets created
- Any other event comes in which is added to the same alert (Alert updated and overAllEventCount increases)
- Last Clear event comes in and alert is closed
And we don't want the flow to be triggered on any other update to the Alert !
We tried using the Trigger: Record created or updated on the alert table, criteria as when OverallEventCount changes. But this didn't work, may be because when the alert is created, the OverallEventCount didn't change (it is 1).
Is there a way to get this working? Please suggest.
Thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-16-2025 09:39 PM
Hi,
What I think you need to do is _always_ run the flow on inserts and updates.
In the flow then check for either insert or update.
The field "Updates" will be 0 on insert
else you will need to loop through all the changed fields and check if the event count changes
I havent tested this but it should be possible to determine if you should do something or not.