Skip to content

Pick the right automation tool in one minute

Codossier Office has six ways to make something happen. Ask one question, "what starts it?", and the table below names the tool. Each tool has its own step-by-step guide.

0 steps·2 min read·Automation

Six ways to make something happen, and a one-minute way to pick.

Choose by what starts it

What starts itUse
A record is saved, and something must happen in that same save: refuse it, or fill a fieldA plugin script (or a built-in rule: a computed field, a validation rule)
A clock: every Monday, nightly, the 1st of the monthA scheduled job
A person clicks one thing on a recordA ribbon button
A person must answer a few questions firstA dialogue, opened from a ribbon button
Several steps, a decision, a wait, a loop or an approvalA workflow (started on demand, on a clock, after a save, or by a signed web call)
Your office's own named operation, which buttons, dialogues, jobs and workflows can all callA custom action

An example of each

  • Plugin script: a matter that still has open tasks cannot be closed; the save is refused with a clear message. Write a plugin script
  • Scheduled job: at 16:00 on the last Friday of each quarter, run the lease kickoff workflow on the Lease Renewal matter. Schedule a job
  • Ribbon button: Take Legal Hold Snapshot on a matter asks once, then places the hold and freezes a copy. Tour the ribbon
  • Dialogue: Find Deadlines asks for the court, then works out the matter's deadlines from its rules. Build a dialogue
  • Workflow: run on a lease matter, it reads the client company, creates the first task and writes a note on the matter. Build your first workflow
  • Custom action: Set the cure deadline takes a date and a reason and adds the date by which the tenant must cure, callable from a button, a dialogue, a job or a workflow. Design a custom action

Good to know

  • A save that must be refused or changed belongs in the save itself (a plugin script). A workflow's record trigger runs just after the save has committed, so it can no longer stop it.
  • Something that happens when a record is saved is never a scheduled job that sweeps for it later: use a trigger on the save.
  • Never imitate a workflow with jobs and scripts that write status fields for each other: that is what a workflow is for.
  • Start with the lightest tool that does the job: a button before a dialogue, a dialogue before a workflow.