Alert triggers
Reporting > Action > Alerts > Triggers
Triggers determine when an alert workflow activity (known as Action) should happen. Actions say what to do based on some condition, while triggers say when to do it. A trigger for an alert instance waits some specified length of time and then checks to see if its trigger conditions are still true. If they are, the action happens; otherwise, the activity expires with no action. A trigger can be reactivated if the initial condition again becomes true. Actions might include sending email notifications, moving alerts to different statuses, and assigning the Alert instance to a role.
Each trigger defines:
- The conditions that must exist for the trigger to fire.
- How long to wait before triggering.
- The action to take when the trigger fires.
- The alerts the trigger applies to.
Trigger properties
- Name
- Required. Name of the trigger.
- Action to run
- Required. Action to run when the timer delays fire and the trigger conditions are valid.
- Assignee condition
- The Assignee that is already assigned to the alert instance before this trigger is valid. For example, if the alert is assigned to a role named Top Tier, and this trigger condition only applies to an assignee role named In Store, the condition is invalid and the trigger expires without running the action. When this condition is None, all Alert instances apply and this condition is always valid.
- Alert status conditions
- One or more states the Alert instance must be in before this trigger is valid. If none are selected, all statuses apply. For example, if this trigger must be in New or In Progress state, but the Alert instance is in Overdue when the trigger fires, this condition is invalid and the Action never runs.
- Relative delay
- The period of inactivity before taking an action; how long to wait before firing a trigger. The relative timer resets when the alert instance changes state, or a User enters a comment when the instance is in the New, Overdue, or In Progress states. See Delays and timers for a complete discussion of how delays works.
- Absolute delay
- How much time may pass — since the trigger condition was true — before firing the trigger. See Delays and timers for a complete discussion of how delays works.
- Alert types for this trigger
- Alert types (Alert conditions) this trigger applies to. Only alerts instances of these selected types are affected by the trigger.
Delay specifications
Delays are defined as lengths of time as integers, and time segments the length applies to as either 'd' (day), 'h' (hours), and 'm' (minutes). The specification can include any combination of segments. For example:
2d 10h 3m
11h 59m
Delay testing frequency
Delays are measured in days or hours, where a day is 24 hours from when the alert instance was created. Medallia Experience Cloud evaluates delays once-per-hour, so it is possible an activity might not happen for almost an hour later than specified by the delay. As such, smaller measurements have little effect.
Tips
-
Editing the definition of a trigger with open instances affects the Relative delay but not the Absolute delay.
-
Be sure to account for the In progress state when defining the trigger. See Pitfalls for details.
-
An activity with no delays is evaluated when the alert instance status changes. Use this to send notifications and perform an assignment when the alert enters the new state.
