- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-26-2022 12:59 AM
I wanted to execute alert management rule to run a subflow whenever I receive a new event for an alert. I have provided below conditions but it is not triggering after one time unless alert is closed and re-opened again.
Is it mandatory for an alert to close and open in order to execute alert management rule again?
Any suggestions will be helpful to achieve requirement to trigger subflow as when we receive new event which is mapped to an alert.
Solved! Go to Solution.
- Labels:
-
Event Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-26-2022 01:51 AM
Hi
As per the definition of 'Rule is activated when' field on your alert rule -
Rule execution takes place when:
- Alert changes to filter (this is your current value) – content changes to the alert cause the alert to match the filter. If the filter is matched on the following update of the alert, the rule is not applied. If the alert was closed and then reopens, at the next update of the alert and the filter is matched, the rule is applied. Thereafter, when there is an update of the alert, the rule is no longer applied.
- Alert matches filter – the content of the alert matches the filter. On the following update of the alert and if the filter is matched, the rule runs and is applied to the alert. The rule remains applied for every matching update.
Do you see a way you can move this to the second type of rule execution may be using related list conditions somehow?
Thanks
-Harneet Sital
Request you to please mark my answer as helpful or correct based on the impact
Find all my ServiceNow articles here
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-26-2022 01:07 AM
Hi,
Try with Description "Contains" poc.
Mark my answer correct & Helpful, if Applicable.
Thanks,
Sandeep
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-26-2022 01:51 AM
Hi
As per the definition of 'Rule is activated when' field on your alert rule -
Rule execution takes place when:
- Alert changes to filter (this is your current value) – content changes to the alert cause the alert to match the filter. If the filter is matched on the following update of the alert, the rule is not applied. If the alert was closed and then reopens, at the next update of the alert and the filter is matched, the rule is applied. Thereafter, when there is an update of the alert, the rule is no longer applied.
- Alert matches filter – the content of the alert matches the filter. On the following update of the alert and if the filter is matched, the rule runs and is applied to the alert. The rule remains applied for every matching update.
Do you see a way you can move this to the second type of rule execution may be using related list conditions somehow?
Thanks
-Harneet Sital
Request you to please mark my answer as helpful or correct based on the impact
Find all my ServiceNow articles here
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-26-2022 06:04 AM
Thanks for your reply,
If I move to second type 'matches the filter' it keeps on triggering on every alert update which is not an expected result.
As per requirement as when new events are created and mapped to alert that time only alert management rule needs to be triggered.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-26-2022 06:46 AM
Hi
I guess the only option left is to use a BR to trigger the subflow rather than using the alert management rule. It will be very similar to this but the trigger would come from the BR.
There is a flow API that you can utilize to call the subflow with the relevant inputs.
I can help you further if you need help writing this BR. Let me know.
Thanks
-Harneet Sital
Request you to please mark my answer as helpful or correct based on the impact
Find all my ServiceNow articles here
