ToDo Lifecycle: Overview

ToDo Lifecycle: Overview

What Is ToDo Lifecycle?

ToDo Lifecycle connects what happens to a to-do — or time passing on one — to automated actions. When a to-do is completed, declined, or has been running longer than it should, the system carries out the actions you configure.

Where to find it: Admin Panel → ToDo Lifecycle

Key Concepts

  • Lifecycle Rule: A single trigger-to-action mapping. You choose what starts it, optionally narrow which to-dos it applies to, and list what should happen.
  • Trigger: What starts the rule. There are two kinds — an Event (something happened to the to-do) or Elapsed time (a clock passed a number).
  • Filter: Optional conditions that narrow which to-dos the rule applies to — to-do type, rank, origin, template, or delivery method. Leave a filter blank and it means "any".
  • Ticket filter: An optional condition on the ticket the to-do is linked to, using a saved Ticket Filter. A to-do can be linked to more than one ticket, so you also choose whether one matching ticket is enough or all of them must match.
  • Actions: What the rule does, in the order you list them. A rule can have several.
  • Active toggle: Controls whether the rule fires. When off, the rule is saved but will not trigger until enabled.

How It Works

Each Lifecycle Rule reads like a sentence: when [trigger], and the to-do matches [filter], and its linked ticket matches [ticket filter], then run [actions] in order.

Trigger: Event

Fires the moment something happens to a to-do. You can select one event or several:

EventFires when
CreatedA to-do is created
StartedA to-do is set to In Progress
CompletedA to-do is marked complete
CancelledA to-do is cancelled
DeferredA to-do is deferred
Woke from deferredA deferred to-do returns to Pending
Returned to pendingAn in-progress to-do is put back to Pending
AcceptedA tech accepts an assigned to-do
DeclinedA tech declines an assigned to-do
RescheduledA scheduled to-do's time changes

Automatic transitions do not fire rules. When a to-do closes because its linked ticket closed, no rule runs. Rules respond to what people and agents do, not to the ticket cascade.

Trigger: Elapsed time

Fires when a to-do has been sitting in a state for longer than you allow. There is no event for this, so the system checks every minute.

ConditionFires when
Ran longer than its DurationAn in-progress to-do has been running past its estimated duration, plus your offset
Past its scheduled endAn open scheduled to-do is past its scheduled end, plus your offset
Past its scheduled startAn open scheduled to-do is past its scheduled start, plus your offset
After it was createdAn open to-do has existed longer than your offset

You set the offset in days, hours, and minutes.

Each elapsed rule fires once per to-do. It will not fire again every minute. If the to-do later stops matching the rule and then matches again, it becomes eligible once more.

"Ran longer than its Duration" only applies to to-dos that are actually in progress. A to-do a tech deliberately paused or deferred is not running late, so it is left alone. The other three conditions measure age or schedule, so they apply to any open to-do.

Filters

Filters narrow which to-dos the rule applies to:

  • To-do type — Scheduled, Floating, or both
  • Rank
  • Origin
  • Template
  • Delivery method

Leave a filter blank and it applies to all values.

Some combinations are locked automatically, because they could never match. Rules on Deferred and Woke from deferred are locked to floating to-dos, since scheduled to-dos cannot be deferred. Rules on Past its scheduled start and Past its scheduled end are locked to scheduled to-dos, since floating to-dos have no scheduled time.

Ticket filter

Pick a saved Ticket Filter to require something of the ticket behind the to-do — its priority, its type, its queue, or anything else the filter can express.

Because a to-do can be linked to more than one ticket, choose how to match:

  • any linked ticket — one match is enough
  • all linked tickets — every linked ticket must match

A to-do with no linked ticket never passes a ticket filter. It is skipped, not failed.

Actions

ActionWhat it does
Set to-do rankChanges the to-do's rank
Change to-do statusStart, Complete, Cancel, or Reopen the to-do
Send webhookPosts to a URL you provide
Apply helpdesk actionRuns a saved Helpdesk Action against every ticket linked to the to-do
Notify userSends a notification with a title and message you write

Actions run in the order they appear in the rule. Drag them to reorder.

Active toggle

Turning a rule off pauses its automation. The rule and all its actions stay saved. Turning it back on resumes it — the rule does not catch up on to-dos that changed while it was off.

Common Use Cases

  • Escalate a to-do that has run too long. Trigger on "Ran longer than its Duration" with a 30 minute offset, then notify the dispatcher and raise the to-do's rank.
  • Chase a declined to-do. Trigger on the Declined event, and apply a helpdesk action that puts the linked ticket back into the dispatch queue.
  • Close the loop when work finishes. Trigger on the Completed event, and apply a helpdesk action that sets the ticket status and adds a note.
  • Catch scheduled work nobody started. Trigger on "Past its scheduled start" with a 15 minute offset, filtered to scheduled to-dos, then notify the tech and the dispatcher.
  • Only escalate for the customers that matter. Add a ticket filter for high-priority or contract tickets so an overrun rule fires for them and stays quiet for everything else.
  • Push to an outside system. Trigger on any event and send a webhook to your own tooling.