mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-16 04:02:52 -06:00
Fixes #14827: Ensure all matching event rules are processed in response to an event
This commit is contained in:
parent
5de2dea8a6
commit
66db4f3874
@ -81,7 +81,7 @@ def process_event_rules(event_rules, model_name, event, data, username, snapshot
|
|||||||
|
|
||||||
# Evaluate event rule conditions (if any)
|
# Evaluate event rule conditions (if any)
|
||||||
if not event_rule.eval_conditions(data):
|
if not event_rule.eval_conditions(data):
|
||||||
return
|
continue
|
||||||
|
|
||||||
# Webhooks
|
# Webhooks
|
||||||
if event_rule.action_type == EventRuleActionChoices.WEBHOOK:
|
if event_rule.action_type == EventRuleActionChoices.WEBHOOK:
|
||||||
|
Loading…
Reference in New Issue
Block a user