设置bpmn.js会签任务(多实例任务) 完成条件
const moddle = this.bpmnModeler._moddle;
const modeling = this.bpmnModeler.get('modeling');
let loopCharacteristics = this.counterSignElement.businessObject.loopCharacteristics;
var completionCondition = moddle.create('bpmn:FormalExpression', { body: "nrOfCompletedInstances = 2" });
completionCondition.$parent = this.counterSignElement;
loopCharacteristics['completionCondition'] = completionCondition;
modeling.updateProperties(this.counterSignElement, { loopCharacteristics: loopCharacteristics});