I want to add loopCondition element to the standardLoopCharacteristics ,
var docs = bpmnFactory.create(‘bpmn:LoopCondition’, { text: values.vals });
I got this error ,
I want to add loopCondition element to the standardLoopCharacteristics ,
var docs = bpmnFactory.create(‘bpmn:LoopCondition’, { text: values.vals });
I got this error ,
Hi @Marwa_Ajmi
Are you sure bpmn-js has bpmn:LoopCondition
moddle type?
I checked with modeler._moddle.registry.packages[0].types.filter(function(f) { return f.name === 'LoopCondition' })
and can not find anythings.
Hi @Hadi_Jami
I’m using jbpm plugin on eclipse , and I’m trying to associate some properties to my modeler ,
After adding ScriptTask properties ,
I got this bpmn file
<bpmn2:scriptTask id="ScriptTask_2" name="Script Task 2" isForCompensation="true" scriptFormat="ScriptFormat1">
<bpmn2:incoming>SequenceFlow_1</bpmn2:incoming>
<bpmn2:outgoing>SequenceFlow_2</bpmn2:outgoing>
<bpmn2:standardLoopCharacteristics id="StandardLoopCharacteristics_8">
<bpmn2:loopCondition xsi:type="bpmn2:tFormalExpression" id="FormalExpression_10" evaluatesToTypeRef="_ItemDefinition_99" language="http://www.java.com/java">Hello World
</bpmn2:loopCondition>
</bpmn2:standardLoopCharacteristics>
<bpmn2:script>Script 1</bpmn2:script>
</bpmn2:scriptTask>