Skip to content
Snippets Groups Projects
Commit 227e6ff6 authored by jurgenhaas's avatar jurgenhaas
Browse files

Update recipe for ECA 2 compatibility

parent 81535bc7
Branches
No related tags found
No related merge requests found
......@@ -9,7 +9,7 @@ id: eca_lib_0004
modeller: bpmn_io
label: 'Switch Case Default'
version: v1
weight: null
weight: 0
events:
Event_082luue:
plugin: 'content_entity:presave'
......
......@@ -66,14 +66,14 @@ modeldata: |
</bpmn2:documentation>
<bpmn2:extensionElements>
<camunda:properties>
<camunda:property name="Tags" value="simple,switch-case-default,if-elsif-else,PHP,programming" />
<camunda:property name="Changelog v1" value="Initial version" />
<camunda:property name="Tags" value="simple,switch-case-default,if-elsif-else,PHP,programming"/>
<camunda:property name="Changelog v1" value="Initial version"/>
</camunda:properties>
</bpmn2:extensionElements>
<bpmn2:startEvent id="Event_082luue" name="Presave article" camunda:modelerTemplate="org.drupal.event.content_entity:presave">
<bpmn2:extensionElements>
<camunda:properties>
<camunda:property name="pluginid" value="content_entity:presave" />
<camunda:property name="pluginid" value="content_entity:presave"/>
</camunda:properties>
<camunda:field name="type">
<camunda:string>node article</camunda:string>
......@@ -84,28 +84,28 @@ modeldata: |
<bpmn2:task id="Activity_0yz4n6i" name="Set Status to 3" camunda:modelerTemplate="org.drupal.action.eca_set_field_value">
<bpmn2:extensionElements>
<camunda:properties>
<camunda:property name="pluginid" value="eca_set_field_value" />
<camunda:property name="pluginid" value="eca_set_field_value"/>
</camunda:properties>
<camunda:field name="method">
<camunda:string>set:clear</camunda:string>
</camunda:field>
<camunda:field name="strip_tags">
<camunda:string></camunda:string>
<camunda:string/>
</camunda:field>
<camunda:field name="trim">
<camunda:string></camunda:string>
<camunda:string/>
</camunda:field>
<camunda:field name="field_name">
<camunda:string>field_status</camunda:string>
</camunda:field>
<camunda:field name="save_entity">
<camunda:string></camunda:string>
<camunda:string/>
</camunda:field>
<camunda:field name="field_value">
<camunda:string>3</camunda:string>
</camunda:field>
<camunda:field name="object">
<camunda:string></camunda:string>
<camunda:string/>
</camunda:field>
</bpmn2:extensionElements>
<bpmn2:incoming>Flow_1jpugw8</bpmn2:incoming>
......@@ -116,7 +116,7 @@ modeldata: |
<bpmn2:sequenceFlow id="Flow_1jpugw8" name="a3" camunda:modelerTemplate="org.drupal.condition.eca_entity_field_value" sourceRef="Activity_1x79dx8" targetRef="Activity_0yz4n6i">
<bpmn2:extensionElements>
<camunda:properties>
<camunda:property name="pluginid" value="eca_entity_field_value" />
<camunda:property name="pluginid" value="eca_entity_field_value"/>
</camunda:properties>
<camunda:field name="field_name">
<camunda:string>field_select</camunda:string>
......@@ -131,20 +131,20 @@ modeldata: |
<camunda:string>value</camunda:string>
</camunda:field>
<camunda:field name="case">
<camunda:string></camunda:string>
<camunda:string/>
</camunda:field>
<camunda:field name="negate">
<camunda:string></camunda:string>
<camunda:string/>
</camunda:field>
<camunda:field name="entity">
<camunda:string></camunda:string>
<camunda:string/>
</camunda:field>
</bpmn2:extensionElements>
</bpmn2:sequenceFlow>
<bpmn2:sequenceFlow id="Flow_0ti9bxh" name="a2" camunda:modelerTemplate="org.drupal.condition.eca_entity_field_value" sourceRef="Activity_1x79dx8" targetRef="Activity_0yz4n6i">
<bpmn2:extensionElements>
<camunda:properties>
<camunda:property name="pluginid" value="eca_entity_field_value" />
<camunda:property name="pluginid" value="eca_entity_field_value"/>
</camunda:properties>
<camunda:field name="field_name">
<camunda:string>field_select</camunda:string>
......@@ -159,20 +159,20 @@ modeldata: |
<camunda:string>value</camunda:string>
</camunda:field>
<camunda:field name="case">
<camunda:string></camunda:string>
<camunda:string/>
</camunda:field>
<camunda:field name="negate">
<camunda:string></camunda:string>
<camunda:string/>
</camunda:field>
<camunda:field name="entity">
<camunda:string></camunda:string>
<camunda:string/>
</camunda:field>
</bpmn2:extensionElements>
</bpmn2:sequenceFlow>
<bpmn2:sequenceFlow id="Flow_01kgpwh" name="a1" camunda:modelerTemplate="org.drupal.condition.eca_entity_field_value" sourceRef="Activity_1x79dx8" targetRef="Activity_0yz4n6i">
<bpmn2:extensionElements>
<camunda:properties>
<camunda:property name="pluginid" value="eca_entity_field_value" />
<camunda:property name="pluginid" value="eca_entity_field_value"/>
</camunda:properties>
<camunda:field name="field_name">
<camunda:string>field_select</camunda:string>
......@@ -187,20 +187,20 @@ modeldata: |
<camunda:string>value</camunda:string>
</camunda:field>
<camunda:field name="case">
<camunda:string></camunda:string>
<camunda:string/>
</camunda:field>
<camunda:field name="negate">
<camunda:string></camunda:string>
<camunda:string/>
</camunda:field>
<camunda:field name="entity">
<camunda:string></camunda:string>
<camunda:string/>
</camunda:field>
</bpmn2:extensionElements>
</bpmn2:sequenceFlow>
<bpmn2:sequenceFlow id="Flow_08ravmy" name="c7" camunda:modelerTemplate="org.drupal.condition.eca_entity_field_value" sourceRef="Activity_1x79dx8" targetRef="Activity_0yz4n6i">
<bpmn2:extensionElements>
<camunda:properties>
<camunda:property name="pluginid" value="eca_entity_field_value" />
<camunda:property name="pluginid" value="eca_entity_field_value"/>
</camunda:properties>
<camunda:field name="field_name">
<camunda:string>field_select</camunda:string>
......@@ -215,41 +215,41 @@ modeldata: |
<camunda:string>value</camunda:string>
</camunda:field>
<camunda:field name="case">
<camunda:string></camunda:string>
<camunda:string/>
</camunda:field>
<camunda:field name="negate">
<camunda:string></camunda:string>
<camunda:string/>
</camunda:field>
<camunda:field name="entity">
<camunda:string></camunda:string>
<camunda:string/>
</camunda:field>
</bpmn2:extensionElements>
</bpmn2:sequenceFlow>
<bpmn2:task id="Activity_0anrk10" name="Set Status to 4" camunda:modelerTemplate="org.drupal.action.eca_set_field_value">
<bpmn2:extensionElements>
<camunda:properties>
<camunda:property name="pluginid" value="eca_set_field_value" />
<camunda:property name="pluginid" value="eca_set_field_value"/>
</camunda:properties>
<camunda:field name="method">
<camunda:string>set:clear</camunda:string>
</camunda:field>
<camunda:field name="strip_tags">
<camunda:string></camunda:string>
<camunda:string/>
</camunda:field>
<camunda:field name="trim">
<camunda:string></camunda:string>
<camunda:string/>
</camunda:field>
<camunda:field name="field_name">
<camunda:string>field_status</camunda:string>
</camunda:field>
<camunda:field name="save_entity">
<camunda:string></camunda:string>
<camunda:string/>
</camunda:field>
<camunda:field name="field_value">
<camunda:string>4</camunda:string>
</camunda:field>
<camunda:field name="object">
<camunda:string></camunda:string>
<camunda:string/>
</camunda:field>
</bpmn2:extensionElements>
<bpmn2:incoming>Flow_0nrihfy</bpmn2:incoming>
......@@ -258,7 +258,7 @@ modeldata: |
<bpmn2:sequenceFlow id="Flow_0nrihfy" name="b1" camunda:modelerTemplate="org.drupal.condition.eca_entity_field_value" sourceRef="Activity_1x79dx8" targetRef="Activity_0anrk10">
<bpmn2:extensionElements>
<camunda:properties>
<camunda:property name="pluginid" value="eca_entity_field_value" />
<camunda:property name="pluginid" value="eca_entity_field_value"/>
</camunda:properties>
<camunda:field name="field_name">
<camunda:string>field_select</camunda:string>
......@@ -273,20 +273,20 @@ modeldata: |
<camunda:string>value</camunda:string>
</camunda:field>
<camunda:field name="case">
<camunda:string></camunda:string>
<camunda:string/>
</camunda:field>
<camunda:field name="negate">
<camunda:string></camunda:string>
<camunda:string/>
</camunda:field>
<camunda:field name="entity">
<camunda:string></camunda:string>
<camunda:string/>
</camunda:field>
</bpmn2:extensionElements>
</bpmn2:sequenceFlow>
<bpmn2:sequenceFlow id="Flow_0usiojw" name="b2" camunda:modelerTemplate="org.drupal.condition.eca_entity_field_value" sourceRef="Activity_1x79dx8" targetRef="Activity_0anrk10">
<bpmn2:extensionElements>
<camunda:properties>
<camunda:property name="pluginid" value="eca_entity_field_value" />
<camunda:property name="pluginid" value="eca_entity_field_value"/>
</camunda:properties>
<camunda:field name="field_name">
<camunda:string>field_select</camunda:string>
......@@ -301,41 +301,41 @@ modeldata: |
<camunda:string>value</camunda:string>
</camunda:field>
<camunda:field name="case">
<camunda:string></camunda:string>
<camunda:string/>
</camunda:field>
<camunda:field name="negate">
<camunda:string></camunda:string>
<camunda:string/>
</camunda:field>
<camunda:field name="entity">
<camunda:string></camunda:string>
<camunda:string/>
</camunda:field>
</bpmn2:extensionElements>
</bpmn2:sequenceFlow>
<bpmn2:task id="Activity_1x79dx8" name="Set default Status" camunda:modelerTemplate="org.drupal.action.eca_set_field_value">
<bpmn2:extensionElements>
<camunda:properties>
<camunda:property name="pluginid" value="eca_set_field_value" />
<camunda:property name="pluginid" value="eca_set_field_value"/>
</camunda:properties>
<camunda:field name="method">
<camunda:string>set:clear</camunda:string>
</camunda:field>
<camunda:field name="strip_tags">
<camunda:string></camunda:string>
<camunda:string/>
</camunda:field>
<camunda:field name="trim">
<camunda:string></camunda:string>
<camunda:string/>
</camunda:field>
<camunda:field name="field_name">
<camunda:string>field_status</camunda:string>
</camunda:field>
<camunda:field name="save_entity">
<camunda:string></camunda:string>
<camunda:string/>
</camunda:field>
<camunda:field name="field_value">
<camunda:string>2</camunda:string>
</camunda:field>
<camunda:field name="object">
<camunda:string></camunda:string>
<camunda:string/>
</camunda:field>
</bpmn2:extensionElements>
<bpmn2:incoming>Flow_080ikau</bpmn2:incoming>
......@@ -346,83 +346,83 @@ modeldata: |
<bpmn2:outgoing>Flow_0nrihfy</bpmn2:outgoing>
<bpmn2:outgoing>Flow_0usiojw</bpmn2:outgoing>
</bpmn2:task>
<bpmn2:sequenceFlow id="Flow_080ikau" sourceRef="Event_082luue" targetRef="Activity_1x79dx8" />
<bpmn2:sequenceFlow id="Flow_080ikau" sourceRef="Event_082luue" targetRef="Activity_1x79dx8"/>
</bpmn2:process>
<bpmndi:BPMNDiagram id="sid-4401d4a3-e2ed-450e-8200-aa601cf73769">
<bpmndi:BPMNPlane id="sid-6de9c83a-5f4d-4589-bf9c-326c3b018280" bpmnElement="eca_lib_0004">
<bpmndi:BPMNShape id="Event_082luue_di" bpmnElement="Event_082luue">
<dc:Bounds x="542" y="242" width="36" height="36" />
<dc:Bounds x="542" y="242" width="36" height="36"/>
<bpmndi:BPMNLabel>
<dc:Bounds x="526" y="285" width="73" height="14" />
<dc:Bounds x="526" y="285" width="73" height="14"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0yz4n6i_di" bpmnElement="Activity_0yz4n6i">
<dc:Bounds x="970" y="220" width="100" height="80" />
<bpmndi:BPMNLabel />
<dc:Bounds x="970" y="220" width="100" height="80"/>
<bpmndi:BPMNLabel/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0anrk10_di" bpmnElement="Activity_0anrk10">
<dc:Bounds x="970" y="320" width="100" height="80" />
<bpmndi:BPMNLabel />
<dc:Bounds x="970" y="320" width="100" height="80"/>
<bpmndi:BPMNLabel/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1x79dx8_di" bpmnElement="Activity_1x79dx8">
<dc:Bounds x="640" y="220" width="100" height="80" />
<bpmndi:BPMNLabel />
<dc:Bounds x="640" y="220" width="100" height="80"/>
<bpmndi:BPMNLabel/>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_1jpugw8_di" bpmnElement="Flow_1jpugw8">
<di:waypoint x="690" y="220" />
<di:waypoint x="690" y="150" />
<di:waypoint x="1020" y="150" />
<di:waypoint x="1020" y="220" />
<di:waypoint x="690" y="220"/>
<di:waypoint x="690" y="150"/>
<di:waypoint x="1020" y="150"/>
<di:waypoint x="1020" y="220"/>
<bpmndi:BPMNLabel>
<dc:Bounds x="833" y="132" width="13" height="14" />
<dc:Bounds x="833" y="132" width="13" height="14"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0ti9bxh_di" bpmnElement="Flow_0ti9bxh">
<di:waypoint x="690" y="220" />
<di:waypoint x="690" y="170" />
<di:waypoint x="1020" y="170" />
<di:waypoint x="1020" y="220" />
<di:waypoint x="690" y="220"/>
<di:waypoint x="690" y="170"/>
<di:waypoint x="1020" y="170"/>
<di:waypoint x="1020" y="220"/>
<bpmndi:BPMNLabel>
<dc:Bounds x="833" y="153" width="13" height="14" />
<dc:Bounds x="833" y="153" width="13" height="14"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_01kgpwh_di" bpmnElement="Flow_01kgpwh">
<di:waypoint x="690" y="220" />
<di:waypoint x="690" y="190" />
<di:waypoint x="1020" y="190" />
<di:waypoint x="1020" y="220" />
<di:waypoint x="690" y="220"/>
<di:waypoint x="690" y="190"/>
<di:waypoint x="1020" y="190"/>
<di:waypoint x="1020" y="220"/>
<bpmndi:BPMNLabel>
<dc:Bounds x="833" y="172" width="13" height="14" />
<dc:Bounds x="833" y="172" width="13" height="14"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_08ravmy_di" bpmnElement="Flow_08ravmy">
<di:waypoint x="690" y="220" />
<di:waypoint x="690" y="130" />
<di:waypoint x="1020" y="130" />
<di:waypoint x="1020" y="220" />
<di:waypoint x="690" y="220"/>
<di:waypoint x="690" y="130"/>
<di:waypoint x="1020" y="130"/>
<di:waypoint x="1020" y="220"/>
<bpmndi:BPMNLabel>
<dc:Bounds x="834" y="113" width="12" height="14" />
<dc:Bounds x="834" y="113" width="12" height="14"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0nrihfy_di" bpmnElement="Flow_0nrihfy">
<di:waypoint x="690" y="300" />
<di:waypoint x="690" y="340" />
<di:waypoint x="970" y="340" />
<di:waypoint x="690" y="300"/>
<di:waypoint x="690" y="340"/>
<di:waypoint x="970" y="340"/>
<bpmndi:BPMNLabel>
<dc:Bounds x="833" y="323" width="13" height="14" />
<dc:Bounds x="833" y="323" width="13" height="14"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0usiojw_di" bpmnElement="Flow_0usiojw">
<di:waypoint x="690" y="300" />
<di:waypoint x="690" y="360" />
<di:waypoint x="970" y="360" />
<di:waypoint x="690" y="300"/>
<di:waypoint x="690" y="360"/>
<di:waypoint x="970" y="360"/>
<bpmndi:BPMNLabel>
<dc:Bounds x="833" y="343" width="13" height="14" />
<dc:Bounds x="833" y="343" width="13" height="14"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_080ikau_di" bpmnElement="Flow_080ikau">
<di:waypoint x="578" y="260" />
<di:waypoint x="640" y="260" />
<di:waypoint x="578" y="260"/>
<di:waypoint x="640" y="260"/>
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment