//自定义扩展项
let varDescProperty = moddle.create("camunda:Property",{
name: "conditionExpressionVarDesc",
value: this.conditionForm.conditionExpressionVarDesc
})
let varNameProperty = moddle.create("camunda:Property",{
name: "conditionExpressionVarName",
value: this.conditionForm.conditionExpressionVarName
})
let operatorProperty = moddle.create("camunda:Property",{
name: "conditionExpressionOperator",
value: this.conditionForm.conditionExpressionOperator
})
let comparisonValueProperty = moddle.create("camunda:Property",{
name: "conditionExpressionComparisonValue",
value: this.conditionForm.conditionExpressionComparisonValue
})
let camundaProperties = moddle.create("camunda:Properties",{
values: [varDescProperty,varNameProperty,operatorProperty,comparisonValueProperty]
})
let extensionElementsVlue = moddle.create('bpmn:ExtensionElements',{values: [camundaProperties]})
modeling.updateProperties(this.selectedSequenceFlowElement, {
extensionElements: extensionElementsVlue,
})