2 Workflows
Workflows in MicroTx Workflows provide blueprints for defining, running, tracking, and managing business process logic.
MicroTx Workflows provides a durable execution model for defining and executing workflows at scale. You can model workflows visually by using Workflow Builder or define them directly in JSON. A workflow can include system tasks, worker tasks, operators, human tasks, schedules, event handlers, and AI-powered tasks. MicroTx Workflows stores workflow execution history, task state, input and output data, logs, and status transitions so that you can monitor, troubleshoot, retry, restart, or audit workflow executions.
Topics
- Manage Workflow Definitions
Create, validate, update, retrieve, search, and delete workflow definitions. You can retrieve a specific definition by name and version, list all definitions, get only the latest versions, or view workflow names and versions without loading full definition bodies. - Manage Workflow Executions
Start workflows asynchronously or synchronously, pass input data, set a version, correlation ID, priority, or idempotency key, and track the returned workflow ID. You can view execution status, include task details, find workflows by correlation ID, list running workflows, search workflow history, pause or resume an execution, skip a task, rerun, restart, retry, terminate, or remove workflow executions. - Manage Schedules to Run Workflows
Create, update, retrieve, search, and delete scheduled workflow definitions. Use schedules to run workflows automatically based on a configured schedule, such as daily, weekly, monthly, or another supported schedule expression. Scheduling APIs are available only when the scheduler feature is enabled. - Manage Event Handlers
Create, update, retrieve, search, and delete event handlers. Event handlers in MicroTx Workflows listen for events from supported internal or external message brokers and perform one or more actions on workflow or task when matching conditions are met. This feature also enables loose coupling between workflows. - View and Approve Workflow Notifications
View pending or in-progress human tasks generated by workflows. Human task notifications help you find workflow steps that require manual action, such as review or approval. The notification API lists human tasks; completing, approving, rejecting, or otherwise acting on the task is handled by updating the corresponding task status and output.