Skip to main content

Module dmn_api

Module dmn_api 

Source

Enums§

ArchiveDmnDecisionByPathError
struct for typed errors of method archive_dmn_decision_by_path
CreateDmnDecisionError
struct for typed errors of method create_dmn_decision
DeleteDmnDecisionByPathError
struct for typed errors of method delete_dmn_decision_by_path
EvaluateDmnDecisionError
struct for typed errors of method evaluate_dmn_decision
ExistsDmnDecisionByPathError
struct for typed errors of method exists_dmn_decision_by_path
GetDmnDecisionByPathError
struct for typed errors of method get_dmn_decision_by_path
GetDmnDecisionByPathWithDraftError
struct for typed errors of method get_dmn_decision_by_path_with_draft
GetDmnDecisionHistoryError
struct for typed errors of method get_dmn_decision_history
ListDmnDecisionsError
struct for typed errors of method list_dmn_decisions
UpdateDmnDecisionError
struct for typed errors of method update_dmn_decision

Functions§

archive_dmn_decision_by_path
create_dmn_decision
delete_dmn_decision_by_path
evaluate_dmn_decision
Evaluate a saved decision (decision_id, no inline xml) or an inline document (xml, with decision_id optional). These two cases use decision_id differently: when evaluating a stored decision, decision_id is purely the storage path used to load the XML, not a selector into it. For inline xml, decision_id doubles as an in-document <decision id> selector, since the storage path and the document’s internal decision id are unrelated namespaces. To select a specific decision inside the document explicitly – including a non-first decision in a saved multi-decision document – supply decision_ref, which is always the in-document selector regardless of branch. An archived stored decision cannot be evaluated (400).
exists_dmn_decision_by_path
get_dmn_decision_by_path
get_dmn_decision_by_path_with_draft
get_dmn_decision_history
list_dmn_decisions
update_dmn_decision