Workflow Engine
workflows in @open-mercato/core
Orchestrate business processes with state machines, transitions, and activities
- Built-in
- AI & Automation
- On in a new app
Ships with Open Mercato 0.9.0
On in a new app. Nothing to enable.
In an app from the empty preset
yarn mercato module enable @open-mercato/ core --module workflowsThen run yarn generate. Core is already installed, so nothing is downloaded.
Anatomy
ADDS 9 TABLES · 28 PERMISSIONS · EMITS 32 EVENTS
Data
workflow_definitions workflow_definition_ drafts workflow_instances workflow_branch_ instances step_instances user_tasks workflow_events workflow_event_ triggers workflow_definition_ metric_ rollups
API
Routes are not listed for built-in modules.
Security
workflows.
viewmanageview_logs view_tasks definitions.view definitions.create definitions.edit definitions.delete definitions.grant_ features definitions.test_ run definitions.publish instances.view instances.create instances.cancel instances.retry instances.signal instances.update_ context instances.rerun_ step instances.bulk_ ops tasks.view - +8 more
Events
workflows.
- emits
definition.created - emits
definition.updated - emits
definition.deleted - emits
definition.customized - emits
definition.reset_ to_ code - emits
definition.published - emits
instance.created - emits
instance.updated - emits
instance.deleted - emits
instance.started - emits
instance.completed - emits
instance.failed - emits
instance.cancelled - emits
instance.paused - emits
instance.resumed - emits
instance.milestone_ reached - emits
task.assigned - emits
task.reminder_ due - emits
task.deadline_ breached - emits
task.portal_ assigned - subscribes
task.assigned - subscribes
task.deadline_ breached - subscribes
task.reminder_ due - +12 more
UI
13 backend pages3 frontend pages5 widgets
Background
4 workers8 CLI commands
AI
7 AI tools
Not read: credentials and env, hosts (not in module-facts.v2.json).
From module-facts.v2.json in @open-mercato/cli 0.9.0. Read statically, not executed.