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.
(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
(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
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |