Liking cljdoc? Tell your friends :D

boundary.workflow.core.audit

Pure constructors for workflow audit trail entries.

No I/O — entries are plain data maps. Persistence lives in the shell layer.

Pure constructors for workflow audit trail entries.

No I/O — entries are plain data maps. Persistence lives in the shell layer.
raw docstring

audit-summaryclj

(audit-summary entry)

Return a concise summary map suitable for logging or display.

Args: entry - AuditEntry map

Returns: Summary map with key fields

Return a concise summary map suitable for logging or display.

Args:
  entry - AuditEntry map

Returns:
  Summary map with key fields
sourceraw docstring

create-audit-entryclj

(create-audit-entry entry-id
                    instance
                    transition-def
                    actor-id
                    actor-roles
                    context
                    now)

Construct an immutable AuditEntry from a completed transition.

Args: entry-id - UUID (provided by caller — no randomness here) instance - WorkflowInstance map (pre-transition state) transition-def - TransitionDef map (the executed transition) actor-id - UUID or nil actor-roles - Vector of keywords or nil context - Context map or nil now - java.time.Instant (provided by caller)

Returns: AuditEntry map

Construct an immutable AuditEntry from a completed transition.

Args:
  entry-id       - UUID (provided by caller — no randomness here)
  instance       - WorkflowInstance map (pre-transition state)
  transition-def - TransitionDef map (the executed transition)
  actor-id       - UUID or nil
  actor-roles    - Vector of keywords or nil
  context        - Context map or nil
  now            - java.time.Instant (provided by caller)

Returns:
  AuditEntry map
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