event_platform-1.0.x-dev/event_platform_sessions/config/install/eca.model.process_register_speaker.yml

event_platform_sessions/config/install/eca.model.process_register_speaker.yml
uuid: f76ad480-cbbb-423e-9865-d59f178b4122
langcode: en
status: true
dependencies:
  config:
    - eca.eca.process_register_speaker
id: process_register_speaker
label: 'Apply speaker roles to new accounts'
tags:
  - untagged
documentation: ''
filename: ''
modeldata: |
  <?xml version="1.0" encoding="UTF-8"?>
  <bpmn2:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:qa="http://some-company/schema/bpmn/qa" id="sample-diagram" targetNamespace="http://bpmn.io/schema/bpmn" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd">
    <bpmn2:process id="process_register_speaker" name="Apply speaker roles to new accounts" isExecutable="true">
      <bpmn2:startEvent id="Event_0vxgplk" name="Create user" camunda:modelerTemplate="org.drupal.event.content_entity:insert">
        <bpmn2:extensionElements>
          <camunda:properties>
            <camunda:property name="pluginid" value="content_entity:insert" />
          </camunda:properties>
          <camunda:field name="type">
            <camunda:string>user _all</camunda:string>
          </camunda:field>
        </bpmn2:extensionElements>
        <bpmn2:outgoing>Flow_0n757dt</bpmn2:outgoing>
      </bpmn2:startEvent>
      <bpmn2:task id="Activity_1q8odga" name="switch to root" camunda:modelerTemplate="org.drupal.action.eca_switch_account">
        <bpmn2:extensionElements>
          <camunda:properties>
            <camunda:property name="pluginid" value="eca_switch_account" />
          </camunda:properties>
          <camunda:field name="user_id">
            <camunda:string>1</camunda:string>
          </camunda:field>
        </bpmn2:extensionElements>
        <bpmn2:incoming>Flow_0n757dt</bpmn2:incoming>
        <bpmn2:outgoing>Flow_161e6wk</bpmn2:outgoing>
      </bpmn2:task>
      <bpmn2:sequenceFlow id="Flow_0n757dt" name="not admin" camunda:modelerTemplate="org.drupal.condition.eca_current_user_role" sourceRef="Event_0vxgplk" targetRef="Activity_1q8odga">
        <bpmn2:extensionElements>
          <camunda:properties>
            <camunda:property name="pluginid" value="eca_current_user_role" />
          </camunda:properties>
          <camunda:field name="role">
            <camunda:string>administrator</camunda:string>
          </camunda:field>
          <camunda:field name="negate">
            <camunda:string>yes</camunda:string>
          </camunda:field>
        </bpmn2:extensionElements>
      </bpmn2:sequenceFlow>
      <bpmn2:task id="Activity_1vj7gze" name="Add speaker role" camunda:modelerTemplate="org.drupal.action.eca_preconfigured_action:user_add_role_action.speaker">
        <bpmn2:extensionElements>
          <camunda:properties>
            <camunda:property name="pluginid" value="eca_preconfigured_action:user_add_role_action.speaker" />
          </camunda:properties>
          <camunda:field name="object">
            <camunda:string>entity</camunda:string>
          </camunda:field>
        </bpmn2:extensionElements>
        <bpmn2:incoming>Flow_161e6wk</bpmn2:incoming>
      </bpmn2:task>
      <bpmn2:sequenceFlow id="Flow_161e6wk" sourceRef="Activity_1q8odga" targetRef="Activity_1vj7gze" />
    </bpmn2:process>
    <bpmndi:BPMNDiagram id="sid-d5835fa3-421c-4cb0-b3ba-0e2e2aebfac6">
      <bpmndi:BPMNPlane id="sid-3d8da845-3c5e-484a-b9ca-7abc5d1fc478" bpmnElement="process_register_speaker">
        <bpmndi:BPMNShape id="Event_0vxgplk_di" bpmnElement="Event_0vxgplk">
          <dc:Bounds x="202" y="52" width="36" height="36" />
          <bpmndi:BPMNLabel>
            <dc:Bounds x="191" y="95" width="58" height="14" />
          </bpmndi:BPMNLabel>
        </bpmndi:BPMNShape>
        <bpmndi:BPMNShape id="Activity_1q8odga_di" bpmnElement="Activity_1q8odga">
          <dc:Bounds x="340" y="30" width="100" height="80" />
          <bpmndi:BPMNLabel />
        </bpmndi:BPMNShape>
        <bpmndi:BPMNShape id="Activity_1vj7gze_di" bpmnElement="Activity_1vj7gze">
          <dc:Bounds x="480" y="30" width="100" height="80" />
          <bpmndi:BPMNLabel />
        </bpmndi:BPMNShape>
        <bpmndi:BPMNEdge id="Flow_0n757dt_di" bpmnElement="Flow_0n757dt">
          <di:waypoint x="238" y="70" />
          <di:waypoint x="340" y="70" />
          <bpmndi:BPMNLabel>
            <dc:Bounds x="265" y="52" width="49" height="14" />
          </bpmndi:BPMNLabel>
        </bpmndi:BPMNEdge>
        <bpmndi:BPMNEdge id="Flow_161e6wk_di" bpmnElement="Flow_161e6wk">
          <di:waypoint x="440" y="70" />
          <di:waypoint x="480" y="70" />
        </bpmndi:BPMNEdge>
      </bpmndi:BPMNPlane>
    </bpmndi:BPMNDiagram>
  </bpmn2:definitions>

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc