cardinal

Assignments and ToDos

Give a Record to a person by hand or by rule, and track it as a ToDo.

Assigning a Record to a user creates a ToDo for them that links to the Record. The ToDo list at /desk/todo is each user's work queue. A ToDo is seen only by its assignee, the person who assigned it, its creator and System Managers.

Assign by hand

  • On a form, use Assigned To in the sidebar and pick one or more users.
  • On a list, tick rows and choose Actions, then Assign To. Clear Assignment cancels the ticked Records' assignments. Both run as background jobs.
  • An automation can assign with its Assign step.

The assignee gets a bell notification. When they finish, they Close the ToDo from the sidebar.

Assignment Rules

An Assignment Rule assigns Records of one RecType when they are saved. Only a System Manager creates them, at /desk/assignment-rule/new.

Example: share support tickets

FieldValue
RecTypeIssue
Description{{ doc.subject }}
Assign Conditiondoc.status == "Open"
Unassign Conditiondoc.status == "Closed"
Close Conditiondoc.status == "Invalid"
RuleRound Robin
Usersasha@acme.com, ben@acme.com, chen@acme.com
Assignment DaysMonday to Friday

Each new open Issue goes to the next person in the list. A closed Issue loses its assignment. An Issue marked Invalid has its ToDo closed.

Rules

RulePicks
Round RobinThe next user in order
Load BalancingThe user with the fewest open ToDos for this RecType
Based on FieldThe User named in a field of the Record, such as owner
Weighted DistributionUsers in proportion to their Weight. A user with weight 2 gets twice as many as one with 1

Fields

FieldUse
PriorityHigher rules are tried first. The first rule that assigns wins
DescriptionThe ToDo's text, a Jinja template with the Record as doc
Assign, Unassign, Close ConditionExpressions on the saved Record
Assignment DaysWeekdays the rule runs, in the site's time zone. Empty means every day
DisabledTurns the rule off

Two nodes picking at the same moment take consecutive turns, so Round Robin never gives two Records to the same person by accident.

Installed apps can narrow who a rule may pick. For example, an app can drop users who are on leave.

On this page