Rules
A rule is a condition in a process. While the condition holds, the rule acts on the acts that it names. While the condition is unknown, the rule waits for the answers it reads.
A check in a function refuses a call. A rule in a process acts on the acts of a subject.
Grants
Roles orders the roles once, lowest first:
by takes answers from that role and the roles above it. Every other input takes an answer from any role.
The log refuses a write by another role as NOT_AUTHORIZED.
Lapse
This rule of the staffing example asks a manager to decide on a young firm:decide entry records the values that the condition read: here, years_in_operation.
- The decision stands while each of those values is the same.
- When one changes, the decision lapses, and the status names the changed value.
- A change to any other answer, such as the payroll, leaves the decision standing.
- A return to the values it read restores the decision, while the documents it cites stay the same.
Related
- Guidelines in the language reference gives each form of a rule and a grant.
- Statuses lists each referral and offer state and when a decision lapses.
- Turn guidelines into a program writes these rules for one submission.