WORKFLOW
TASTUR v2.
What it is
TASTUR v2 is the next-generation workflow engine for Pazator. It replaces the original
TASTUR system with a visual rule builder, more triggers and actions, schedule-based
execution, and automatic hooks into app events. Rules follow the
WHEN trigger IF condition THEN action pattern.
Triggers
Events that activate a rule. Available trigger types:
to (tab ID).count.count.query.store, action.5m, 1h).Actions
What happens when a rule fires:
message.message.message, type (info/success/warning/error).target.url, method (GET/POST).endpoint, method.Conditions
The optional IF clause evaluates event data. Operators:
==, !=, >,
<, >=, <=,
contains. For schedule triggers, the condition value sets the
interval using shorthand: 30s, 5m,
1h, 1d.
Examples
WHEN tab_switch IF to="threats" THEN popup "Security Clearance Required" WHEN data_changed THEN notify "Data was modified" WHEN schedule IF interval=5m THEN webhook http://my-server.com/ping WHEN threat_detected IF count > 10 THEN toast "Critical threat volume" error WHEN search_performed IF query=="classified" THEN popup "Search logged"
Usage
Open the Workflow tab from the top menu bar. Click New Rule to open the rule editor. Select a trigger, optionally set a condition, choose an action, and fill its parameters. Save the rule — it activates immediately if enabled. Use the toggle switch on each rule card to enable or disable it.
app/pazator_workflow.js — IIFE module. Automatically
hooks into switchTab() and
pazatorStore.emit() at app startup. Exposes
window.pazatorWorkflow.