pub struct CmmnControl {
pub triggers: Option<HashMap<String, CmmnTriggerIntent>>,
pub case_transitions: Option<HashMap<String, CmmnCaseTransitionIntent>>,
}Expand description
CmmnControl : The whole write surface a non-worker component has on a running case. Each entry names an intent; the engine decides legality when the worker applies it. Keyed by a per-delivery UUID, not by the transition name — two operators acting a second apart are two deliveries, and the second must not silently overwrite the first’s audit-bearing intent.
Fields§
§triggers: Option<HashMap<String, CmmnTriggerIntent>>Per-plan-item transition requests, keyed by delivery id.
case_transitions: Option<HashMap<String, CmmnCaseTransitionIntent>>Case-level transition requests, keyed by delivery id.
Implementations§
Source§impl CmmnControl
impl CmmnControl
Sourcepub fn new() -> CmmnControl
pub fn new() -> CmmnControl
The whole write surface a non-worker component has on a running case. Each entry names an intent; the engine decides legality when the worker applies it. Keyed by a per-delivery UUID, not by the transition name — two operators acting a second apart are two deliveries, and the second must not silently overwrite the first’s audit-bearing intent.