Liking cljdoc? Tell your friends :D

boundary.workflow.shell.service

Workflow engine service.

Orchestrates the full transition lifecycle:

  1. Load workflow definition from registry
  2. Load workflow instance from store
  3. Validate transition (existence, permissions, guards)
  4. Persist new state + audit entry
  5. Enqueue side-effect jobs (if job-queue provided)

Implements IWorkflowEngine.

Workflow engine service.

Orchestrates the full transition lifecycle:
  1. Load workflow definition from registry
  2. Load workflow instance from store
  3. Validate transition (existence, permissions, guards)
  4. Persist new state + audit entry
  5. Enqueue side-effect jobs (if job-queue provided)

Implements IWorkflowEngine.
raw docstring

create-workflow-serviceclj

(create-workflow-service store registry)
(create-workflow-service store registry job-queue)
(create-workflow-service store registry job-queue guard-registry)

Create a WorkflowService.

Args: store - IWorkflowStore implementation registry - IWorkflowRegistry implementation job-queue - IJobQueue or nil (optional; required for side-effects) guard-registry - Map of guard-key -> (fn [ctx] bool?) or nil

Returns: WorkflowService implementing IWorkflowEngine

Create a WorkflowService.

Args:
  store          - IWorkflowStore implementation
  registry       - IWorkflowRegistry implementation
  job-queue      - IJobQueue or nil (optional; required for side-effects)
  guard-registry - Map of guard-key -> (fn [ctx] bool?) or nil

Returns:
  WorkflowService implementing IWorkflowEngine
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close