Action rules
Use action rules to control who may prioritize, cancel or reprint a job, by role and open hours, require a reason, remove after-hours priority at opening, and test the rules before you publish them.
Open Admin → Action rules (under Policies) to configure whether people and automations may prioritize, deprioritize, cancel, or reprint a job. Their normal web permissions or station capabilities still apply. Action rules used to be the Actions tab of the Rules page.
Action rules use the first matching enabled rule. Higher Evaluation order values run first. Ties use the older rule. A rule scoped to one site matches jobs at that site. Global and site rules share the same ordering. When no rule matches, normal action permissions apply.
Different roles during open hours
Use two rules so only senior roles may prioritize while the site is open, and peer instructors may prioritize after hours:
- Set the site’s open hours, including closed dates.
- Create a higher-order Require a role rule for Master Peer Instructor, Staff, and Admin, with the condition Site is open is yes.
- Create a lower-order rule with no conditions requiring Peer Instructor, Master Peer Instructor, Staff, or Admin. It covers every time the first rule doesn’t, including weekends and closed dates.
- Enable Require a reason on both rules and exempt the three senior roles. A person with Peer Instructor alone must explain an after-hours promotion. Someone who also holds an exempt senior role can prioritize without a reason.
Select your actual roles in each rule. Site is open reads the job’s site’s open hours, or the deployment’s when the site has none, in the site’s time zone. When no open hours are set it’s unknown, so the first rule doesn’t match and the fallback applies. You can still write the same schedule with Day of week and Hour of day checks; each of those needs a time zone.
Allowed actor roles checks the person prioritizing the print. Owner roles in a condition checks the person who owns it. A failed role requirement stops evaluation. It doesn’t try the next rule. Keep the fallback enabled so an unmatched time cannot fall through to normal permissions.
Remove after-hours priority when the site opens
Pair the rules above with an automation so a peer instructor’s after-hours priority lasts only until the site opens. Under Admin → Automations, create a new automation:
- Trigger: Print prioritized.
- Only if, checked as of the moment it was prioritized:
- Site is open is no.
- Site next opens exists.
- Acting person’s roles includes any of Peer Instructor.
- Acting person’s roles includes none of Master Peer Instructor, Staff, Admin.
- Job status is
queuedand Job priority is at least 1.
- Steps: a Delay until Site next opens, then Remove the job’s priority with the reason “Open hours began”.
- Leave Check conditions again after waiting on.
At opening, the automation checks the print again. One that started printing, or whose priority someone already removed, is left alone. Priorities a senior role gives after hours never start a run, and automatic reprint priority isn’t a promotion, so neither is removed. The delay uses the opening time known when the print was prioritized; changing open hours later doesn’t move it. Without Site next opens exists, a site with no upcoming opening would remove the priority at once. If you have a Deprioritize action rule, make sure it allows the Automation action source.
Actions taken by automations
Automations that cancel, prioritize, or remove priority from a job go through the same action rules as a person. To treat them differently, add an Action source condition set to Automation. For example, a higher-order Deny rule for Cancel with Action source is Automation stops every automation from cancelling jobs while people keep their usual rules. An automation acts as no one in particular, so a Require a role rule never lets one through, and it has no role exemption from a reason requirement.
Rules without an Action source condition apply to automations exactly as they do to everyone else. A check such as Action source is not Web also matches automations.
Test action rules
Select Test action rules on the Action rules page. Choose the action and who takes it, a person (with their roles) or no one identified, then start from a real print job or build the case by hand with the same controls as the requirements tester. Set Action source under Where & when. The tester lists the enabled rules for that action in evaluation order and marks the one that Decides, whether the action is allowed, and whether a reason is required. Rules after it are Not reached. A rule whose condition can’t be judged is skipped, just as it is when the action happens. Testing changes nothing.
Reasons for actions
Whenever someone cancels a job, reprints it, prioritizes it, or removes its priority, they can explain why. The reason is saved on the job’s timeline with who took the action and when. The job’s owner can read it there, and it’s included in the owner’s status email when one is sent for that action (cancellation and reprint emails, for example).
Reasons are optional by default. Cancel job and Reprint always show an optional reason field. Prioritize and Remove priority stay one-click and only ask for a reason when a rule requires one. Feedback written when rejecting a job is treated the same way: it appears on the timeline and in the rejection email.
Require a reason
- Select New action rule, or edit the rule that already applies to the action.
- Give it a name and choose the action: Cancel, Reprint, Prioritize, or Deprioritize (removing priority).
- Choose Allow, or Require a role if the action is restricted to selected roles. A Deny rule can’t require a reason, because the action doesn’t happen.
- Select Require a reason. Under Exempt roles, optionally choose the roles that may take the action without explaining why. Leave this empty to require a reason from everyone.
- Choose the scope and conditions, review its evaluation order, and save the enabled rule.
For example, a makerspace could exempt its Staff and Lab Supervisor roles while requiring volunteers to explain why they cancelled someone’s print. Select your organization’s actual roles. Role names have no built-in meaning. Exemptions include inherited roles and apply to the person taking the action, regardless of who owns the print.
Review other rules for the same action before enabling this requirement. A rule later in the list cannot add a reason requirement to an earlier match. Add the requirement to each allowed rule where you want it enforced. An exemption does not override a denial or grant action permission.
Giving a reason
When a reason is required, the field is marked as required and the action can’t be confirmed until it’s filled in. Reasons can be up to 1,000 characters. Closing the dialog leaves the job unchanged. Pluraprint checks the current policy again when saving, so an open dialog cannot bypass a changed rule or act on a job that has begun dispatching.
At a station, the usual identification step runs first when the station requires it, and the reason requirement is worked out for the person who identified. A person who is not identified cannot receive a role exemption and must give a reason. Station rules match station actions: a rule with an Action source or Action station ID condition applies to cancels, reprints, and priority changes made at that station. The mobile app and connected AI clients enforce the same policy; an AI client can ask you for a reason before cancelling or prioritizing.
Defaults and scope
Reason collection is off until you enable it on an action rule. Existing rules keep their usual behavior. Disabling a rule leaves previously recorded reasons in history. Automatic reprint priority and rush deadlines never ask for a reason. Removing a priority a job doesn’t have records nothing and asks for nothing.