Sent by Anvil
Anvil sends notifications for its own features. They use the language of the request or job that sends them.
| Event | Notification | Recipients |
|---|---|---|
| A task is created | “New task: …”, with a link to the record | the candidates of the task |
| A task is overdue | “Task overdue: …” (warning), once | the candidates |
| A step of a workflow takes longer than its duration | “Overdue: …” (warning) | the actors of the step and those to notify |
| A workflow case is at risk | “… is at risk” (warning) | the actors of whenAtRisk() |
| A workflow case passed its deadline | “… is overdue” (danger) | the actors of whenOverdue() |
| A queued export is ready | “… ready” (success), with a link | the user who started it |
| A queued export failed | “… failed” (danger) | the user who started it |
| API tokens or clients expire or are unused | a reminder | their owners (anvil:api:review), see API |
Overdue tasks and deadlines are checked by php spark anvil:tick;
schedule it every minute.