When an invoice is marked Paid, clear it from queues and file it
The moment someone sets an invoice's status to Paid, it leaves every work queue and moves to the Paid folder — a Field Value Updated trigger and two actions in the right order. Reacts to the change itself, so there's no schedule to size and no reprocessing storm.
Before you begin
- The invoice document type has a status field (a drop-down field with a Paid choice works best)
- A Paid folder exists in the catalog
- A Content Central administrator to set the Paid folder's document type (one setting, below)
When you're done, setting an invoice's status to Paid removes it from every work queue and moves it into the Paid folder within seconds — and the automation never touches the invoices that were already paid last year.
- Trigger
- Content Field Values › Field Value Updated in this Document TypeField: Status · Field Evaluation: Selected Field Value(s) · Paid
- Actions, in this order
- Work Queue - RemoveWork-Queue Evaluation: All Users and Groups
- Content - Move to FolderFolder Path: …\Accounts Payable\Paid · the folder's Document Type set to the invoice type
- Rule
- "Status set to Paid → clear queues and file", enabled
Why a field-update trigger, not a scheduled query
You could build this as a Content Query that runs every few minutes looking for Status = Paid. Don't. That query matches every paid invoice in history on every run, and with a short Reprocess Matching Records After it re-clears and re-moves a million old documents each day until the query times out and nothing runs at all.
Field Value Updated is a Live trigger: it fires once, for the one document whose field just changed. Nothing to schedule, nothing to reprocess.
Build the trigger
Go to Administration > Catalogs & Document Types, pick the Catalog and the invoice Document Type, and click the Workflow tile. Click Triggers, then New Trigger.
Type:
Content Field Valuesin the first box andField Value Updated in this Document Typein the second.
Trigger Name:
Status changed to Paid.
Field: your status field. Field Evaluation:
Selected Field Value(s), then pick or typePaid— a drop-down field shows its choices under Selected Choices:; a plain text field shows Field-Match Type:Equalsand a Field Value: box.
Leave User Evaluation: at
All Users and Groupsso it fires no matter who made the change.
Click Save.
What you should see: a trigger with Event Live and the field name in its Details.
Give the Paid folder the invoice type
Content - Move to Folder also sets the document type. The invoice takes the Document Type set on the Paid folder; if the folder has none, it becomes the catalog's default document type, even though it never leaves the catalog. Fields with no same-named field in that type lose their values.
In the Folder Browser, right-click the Paid folder and choose Properties.
Clear Inherit settings, then pick the invoice type under Document Type. Click Save.
What you should see: Folder properties updated. Reopen Properties: Inherit settings is clear and Document Type shows the invoice type.
Only Content Central administrators can change folder properties; anyone else sees Only administrators can modify folder properties. Picking a type also ticks Hide folder if no view permission on its own.
Build the actions
Click the Actions card, then New Action.
Type:
Work Queue - Remove. Action Name:Remove from all work queues. Work-Queue Evaluation:All Users and Groups. Save.
New Action again. Type:
Content - Move to Folder. Action Name:File in Paid folder.
Under Folder Path, drill into the catalog's folders with the Select a subfolder… picker (and Move Up to back out) until the path shown is your Paid folder. Save.
Wire the rule — order matters
Click the Rules card, then New Rule. Rule Name:
Status set to Paid → clear queues and file.
Add Trigger:
Status changed to Paid.
Add Action:
Remove from all work queues, then Add Action:File in Paid folder. Actions run top to bottom — clear the queues first, then move. Use the move up/down controls if they're reversed.
Click Apply.
Test it
Send one test invoice to your own work queue, then open its properties and set the status field to
Paid.
Check your Work Queue, then find the document and open View History.
What you should see: the item gone from your Work tab, the document now under the Paid folder with Document Type in its Properties panel still the invoice type, and history entries for both actions. If the invoice stays put, check that the value matches exactly — Paid and PAID are different values on a text field, which is why a drop-down field is the safer choice.
Variations
| Want this instead | Change this |
|---|---|
| Also close out its approval | Add Approval Process - Change Stage with Stage Change: Complete by Approval before the move — useful for the "paid but still in the approval queue" case |
| Only when AP staff mark it paid | Trigger: User Evaluation: Selected Group(s) and pick the AP group |
| Fire on any status change, then branch | One trigger per status value, each with its own rule and folder |
| Email the vendor's contact when paid | Add Send E-mail with a template whose To is an insert code for the vendor email field |
| Stamp the paid date at the same time | Add Content - Update Date Field with Today's Date (recipe) |
| React to a global field shared across types | Sub-type Global-Field Value in DocType Updated in the System |
