Workflow Rules
A workflow rule is a step the system takes for you when something happens, such as creating a task when a matter is opened. Instead of relying on someone to remember, you set the rule up once.
Where
Settings → Setup → Workflow rules lists the rules, with create, edit, switch on/off and delete. Each rule has its own page with a history of every time it ran.
Only the firm administrator can create or edit rules. The managing partner and general manager can see them.
The anatomy of a rule
A rule has:
- A module and trigger event - what sets the rule off: matter created, matter status changed, invoice status changed, invoice overdue, task overdue, deadline approaching, or leave request submitted
- Actions - what the system does: create a task, send a notification, or change the matter's status
Executions
Each time a rule runs, it is recorded. Open the rule's page to see:
- When it ran
- What set it off, and who
- Whether it worked
- The error, if it didn't
Check this first when a rule isn't doing what you expected.
Switching a rule off
A rule can be switched off without deleting it. Do this when:
- You are still testing a new rule
- You want to pause a rule for a while
- A rule is sending too many notifications
Running a rule by hand
On a rule's page, click Run now to run it straight away. This is useful for testing. A rule that is switched off can't be run.
Good rules and bad rules
A good workflow rule:
- Is set off by one clear event
- Does one thing
- Tells people something they need to know
A bad workflow rule:
- Sends a notification to the whole firm every time a matter is opened
- Repeats work someone is already doing
- Has actions no one understands
Start small. Create one or two rules, check their history for a week, adjust them, then add more.