Use the flow score to determine the status priority

This commit is contained in:
emanuele-f 2020-02-07 12:27:08 +01:00
parent 38ee7f8439
commit 13ec0d2f44
13 changed files with 47 additions and 90 deletions

View file

@ -23,16 +23,11 @@ end
-- #################################################################
return {
-- prio: when a flow has multiple status set, the most important status is the one with highest priority
-- alert_type: the alert type associated to this status
-- alert_severity: the alert severity associated to this status
-- i18n_title: a localization string for the status
-- i18n_description (optional): a localization string / function for the description
-- A flow can have multiple statuses set. The predominant status is the one with the
-- histest "prio"
prio = 310,
-- A label to associate to this status
i18n_title = "example.status_title",