Automation rules¶
Let BizzWeave ERP watch for things that need attention and act for you: alert the managers about overdue invoices, tell the store when stock runs low, or create a follow-up task. Use the ready-made rules, or build your own “when → if → then” rules.
Before you start
- Switching rules on or off, running them and creating rules need the Administrator role. Managers can see the rules and their history.
- Time needed: about 5 minutes per rule.
Open Administration → System → Automation. The page has four tabs: My rules, Rule log, Ready-made rules and History.
Two automation pages
This page is for the whole organisation. Project Management has its own project-level rules under Configuration → Automation; see the Project Management guides.
Ready-made rules¶
Ready-made rules run every morning from 08:00 and alert administrators and managers. The current rules are:
| Rule | What it looks for |
|---|---|
| Leave waiting for a decision | Leave requests nobody has approved or rejected yet. |
| Low stock alert | Items at or below their reorder level. |
| Documents about to expire | Library documents nearing their expiry date. |
| Purchase orders waiting for approval | Submitted purchase orders still waiting. |
| Overdue invoices | Issued invoices past their due date. |
| Quotations about to expire | Sent quotations nearing their validity date. |
- Click the On switch to turn a rule on or off.
- Click Run now to run it immediately; the result appears as a message and under Last run (for example ALERTED · 1 item(s) at or below their reorder level).
- A rule tagged module off belongs to a module your organisation doesn't use; it can't be switched on.
- The History tab lists every run, whether it ran on Schedule or with Run now, and its outcome.
Create your own rule¶
-
On the My rules tab, click New rule.
Shree Ganesh Traders' own rules, with their hourly limit and when they were last checked. -
Give the rule a Name, for example Chase invoices 15 days overdue.
-
Under When, choose a trigger:
Trigger Kind Invoice issued An event: handled within a minute. Invoice overdue A condition: checked every 15 minutes. Purchase order approved An event. Stock below reorder level A condition. Ticket SLA breached A condition. -
Under And (all must hold), click Add condition to narrow it down, for example Days overdue ≥ 15. You can add up to 10 conditions; all must be true. For condition triggers, Test conditions shows which records match right now.
-
Under Then, choose up to five actions:
- Notify in the app or Send an e-mail or Send an SMS (members who opted in): choose the Roles (Administrators, Managers, Members), particular Members and/or The record's owner, and write the Message.
- Create a task: choose the Project, Priority and Due in (days), write the Task title, and assign it to the record's owner or to a member.
Messages and task titles can use placeholders such as
{{number}},{{customer}}and{{daysOverdue}}; the list above the actions shows those available for the trigger.
The rule notifies administrators and managers when an invoice is 15 or more days overdue, and again every 7 days. -
Set the limits:
- At most per hour (1 to 200): protects people from floods of messages.
- Act again on the same record after (days): leave it empty to act only once per record, or enter for example 7 to remind weekly.
- Make sure On is switched on and click Save.
What happens next
The rule acts once per record (or again after the days you set), within its hourly limit. Each action is listed on the Rule log tab with the record, the outcome (DONE, FAILED, RATE LIMITED or TEST) and a detail such as notified 3 member(s).
Change, pause or delete a rule¶
- Click a rule's row to edit it.
- Use its On switch to pause it.
- Run now checks it immediately.
- The bin button deletes it (Delete this rule? Its log stays.).
Common questions¶
Who receives SMS from a rule?
Only the chosen people who entered a mobile number and ticked Send me SMS alerts in their notification preferences, and only if an SMS provider is set up.
A rule didn't fire.
Check that it is On, that its conditions really match (use Test conditions), the hourly limit, and whether it already acted on that record. The Rule log shows failures with the reason.
