pub struct BpmnValidationIssue {
pub code: String,
pub severity: Severity,
pub message: String,
pub element_ids: Vec<String>,
}Expand description
BpmnValidationIssue : One problem found by deploy-time BPMN validation (backend/orvanta-bpmn/src/validate.rs). Warnings and errors share this shape and are told apart by severity.
Fields§
§code: StringThe rule that fired, e.g. MissingScriptBinding, IncompleteConditionCoverage. Stable — branch on this, not on message.
severity: Severityerror blocks the deploy (the request is a 400). warning does not: the deploy succeeded and the warning is advisory.
message: StringA sentence for a human, naming the offending id(s).
element_ids: Vec<String>The elements this problem is about — what an editor should mark on the canvas. Empty when the problem names nothing on the canvas (an unnamed unrecognized element, a whole-scope rule on the root process). Never the id of a referenced element that is missing: marking that would flag an innocent shape.
Implementations§
Trait Implementations§
Source§impl Clone for BpmnValidationIssue
impl Clone for BpmnValidationIssue
Source§fn clone(&self) -> BpmnValidationIssue
fn clone(&self) -> BpmnValidationIssue
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more