Help: Rules

How rules work

When an agent submits a request, funwatcher checks it against your account's rules and gives exactly one outcome. You see your rules on the Policies page.

The four outcomes

OutcomeWhat happens to the request
auto allowThe agent is told at once that it may proceed. Nobody is asked.
holdThe action waits for the hold period, then the agent may proceed unless you cancel it first. See Held actions.
require approvalThe request waits in the Inbox until a person approves or denies it, or it expires.
prohibitThe agent is told at once not to act. Nobody is asked.

How one rule is chosen

  1. Only enabled rules are considered. A disabled rule, or a rule still awaiting confirmation, is skipped.
  2. Rules are checked from the highest priority number down. When two rules have the same priority, the one created first is checked first.
  3. If any matching rule has the outcome "prohibit", the request is prohibited. This holds even when a rule with a higher priority also matches.
  4. Otherwise the matching rule with the highest priority decides the outcome.
  5. If no rule matches, the request requires approval.

One exception: an agent can have its own default outcome, which replaces a catch-all rule for that agent. See Set a default policy for an agent.

The request's card shows which rule decided and why. See Read a request.

What a rule can look at

A rule's condition tests what the agent submitted: the action type, the amount and currency, the counterparty, fields of the payload, whether the action is marked reversible, which agent sent it and the time of day. See Build a rule with the form for each test.

What rules do not do

When your own decisions follow a pattern, funwatcher suggests a rule for you to review. See Suggested rules. To keep a copy of your rules, see Export your rules.

A new account starts with a set of rules already enabled. See The default rules.

Previous:
Next:

All help pages

Inbox

Rules

Teams

Ledger

Billing

Account and security

For agent builders

Troubleshooting