AnsweredAssumed Answered

Workflow won't start

Question asked by brunoais on Jan 24, 2014
I can't get the a workflow I designed as a test to run on Alfresco.
This workflow was designed in a neutral bpmn2.0 workflow designer.
I setup like this:

anotherWorkflow-model-context.xml

<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
<beans>
    <bean id="myworkflows.workflowBootstrap" parent="workflowDeployer">
      <property name="workflowDefinitions">
         <list>
            <props>
               <prop key="engineId">jbpm</prop>
               <prop key="location">alfresco/exampleworkflow.xml</prop>
               <prop key="mimetype">text/xml</prop>
               <prop key="redeploy">true</prop>
            </props>
         </list>
      </property>
      <property name="models">
         <list>
            <value>alfresco/extension/model/exampleWorkflowModel.xml</value>
         </list>
      </property>
   </bean>

</beans>

Except from:
share-config-custom.xml

<config evaluator="string-compare" condition="jbpm$wflex:sendLetter">
      <forms>
         <form>
            <field-visibility>
               <show id="bpm:workflowDescription" />
               <show id="bpm:workflowDueDate" />
               <show id="bpm:workflowPriority" />
               <show id="exc:workDescription" />
               <show id="packageItems" />
               <show id="bpm:comment" />
               <show id="bpm:sendEMailNotifications" />
            </field-visibility>
            <appearance>
               <set id="" appearance="title" label-id="workflow.set.general" />
               <set id="info" appearance="" template="/org/alfresco/components/form/2-column-set.ftl" />
               <set id="items" appearance="title" label-id="workflow.set.items" />
               <set id="work" appearance="title" label-id="workflow.set.work" />
               <set id="other" appearance="title" label-id="workflow.set.other" />
               <set id="response" appearance="title" label-id="workflow.set.response" />

               <field id="bpm:workflowDescription" label-id="workflow.field.message">
                  <control template="/org/alfresco/components/form/controls/textarea.ftl">
                     <control-param name="style">width: 95%</control-param>
                  </control>
               </field>

               <field id="bpm:workflowDueDate" label-id="workflow.field.due"
                  set="info" />
               <field id="bpm:workflowPriority" label-id="workflow.field.priority"
                  set="info">
                  <control
                     template="/org/alfresco/components/form/controls/workflow/priority.ftl" />
               </field>


               <field id="packageItems" set="items" />
               
               
               <field id="bpm:sendEMailNotifications" set="other">
                  <control template="/org/alfresco/components/form/controls/workflow/email-notification.ftl" />
               </field>

               <field id="bpm:comment" label-id="workflow.field.comment" set="response">
                  <control template="/org/alfresco/components/form/controls/textarea.ftl" />
               </field>
            </appearance>
         </form>
      </forms>
   </config>


exampleworkflow.xml

<?xml version="1.0" encoding="UTF-8"?>
<bpmn2:definitions  name="wflex:sendLetter" xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns="http://www.omg.org/bpmn20" 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:xsi="http://www.w3.org/2001/XMLSchema-instance" id="_kUfLEIQjEeOtzOSZYcxrQA" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd" targetNamespace="http://www.omg.org/bpmn20" typeLanguage="http://www.java.com/javaTypes">
   <bpmn2:itemDefinition id="_writersItem" structureRef="String" />
   <bpmn2:itemDefinition id="_opinionsItem" structureRef="String" />
   <bpmn2:itemDefinition id="_191CA938-E3C3-4FF3-A046-C55CCD466872_InMessageType" />
   <bpmn2:message id="_191CA938-E3C3-4FF3-A046-C55CCD466872_InMessage" itemRef="_191CA938-E3C3-4FF3-A046-C55CCD466872_InMessageType" />
   <bpmn2:interface id="_191CA938-E3C3-4FF3-A046-C55CCD466872_ServiceInterface" name="" implementationRef="">
      <bpmn2:operation id="_191CA938-E3C3-4FF3-A046-C55CCD466872_ServiceOperation" name="" implementationRef="">
         <bpmn2:inMessageRef>_191CA938-E3C3-4FF3-A046-C55CCD466872_InMessage</bpmn2:inMessageRef>
      </bpmn2:operation>
   </bpmn2:interface>
   <bpmn2:itemDefinition id="__805B5BE2-8D74-491F-80AD-C8B13601139A_writersOutputItem" structureRef="String" />
   <bpmn2:itemDefinition id="__0C695D49-5941-41C6-9F8D-5E20947EA22D_opinionsOutputItem" structureRef="String" />
   <bpmn2:itemDefinition id="__9001AA8F-DFED-4D59-8252-0AF7D9A22EF3_opinionsOutputItem" structureRef="String" />
   <bpmn2:process id="sendLetter.sendLetter" name="wflex:sendLetter" isExecutable="true">
      <bpmn2:property id="writers" itemSubjectRef="_writersItem" />
      <bpmn2:property id="opinions" itemSubjectRef="_opinionsItem" />
      <bpmn2:startEvent id="_F56062A8-2ECD-46C5-BD5E-86331AA72AED" name="wflex:starter">
         <bpmn2:outgoing>_C77262A9-B3D5-4D36-8A7A-9B825EA71C59</bpmn2:outgoing>
      </bpmn2:startEvent>
      <bpmn2:userTask id="_805B5BE2-8D74-491F-80AD-C8B13601139A" name="Write letter + to whom + other writers">
         <bpmn2:incoming>_C77262A9-B3D5-4D36-8A7A-9B825EA71C59</bpmn2:incoming>
         <bpmn2:outgoing>_40FAC405-8966-4B78-9567-904AEFACACC5</bpmn2:outgoing>
         <bpmn2:ioSpecification id="_kUfyIIQjEeOtzOSZYcxrQA">
            <bpmn2:dataInput id="_805B5BE2-8D74-491F-80AD-C8B13601139A_TaskNameInput" name="TaskName" />
            <bpmn2:dataOutput id="_805B5BE2-8D74-491F-80AD-C8B13601139A_writersOutput" itemSubjectRef="__805B5BE2-8D74-491F-80AD-C8B13601139A_writersOutputItem" name="writers" />
            <bpmn2:inputSet id="_kUfyIoQjEeOtzOSZYcxrQA" />
            <bpmn2:outputSet id="_kUfyIYQjEeOtzOSZYcxrQA">
               <bpmn2:dataOutputRefs>_805B5BE2-8D74-491F-80AD-C8B13601139A_writersOutput</bpmn2:dataOutputRefs>
            </bpmn2:outputSet>
         </bpmn2:ioSpecification>
         <bpmn2:dataInputAssociation id="_kUfyI4QjEeOtzOSZYcxrQA">
            <bpmn2:targetRef>_805B5BE2-8D74-491F-80AD-C8B13601139A_TaskNameInput</bpmn2:targetRef>
            <bpmn2:assignment id="_kUfyJIQjEeOtzOSZYcxrQA">
               <bpmn2:from xsi:type="bpmn2:tFormalExpression" id="_kUfyJYQjEeOtzOSZYcxrQA">writeLetter</bpmn2:from>
               <bpmn2:to xsi:type="bpmn2:tFormalExpression" id="_kUfyJoQjEeOtzOSZYcxrQA">_805B5BE2-8D74-491F-80AD-C8B13601139A_TaskNameInput</bpmn2:to>
            </bpmn2:assignment>
         </bpmn2:dataInputAssociation>
      </bpmn2:userTask>
      <bpmn2:sequenceFlow id="_C77262A9-B3D5-4D36-8A7A-9B825EA71C59" sourceRef="_F56062A8-2ECD-46C5-BD5E-86331AA72AED" targetRef="_805B5BE2-8D74-491F-80AD-C8B13601139A" />
      <bpmn2:userTask id="_0C695D49-5941-41C6-9F8D-5E20947EA22D" name="Opinions needed?">
         <bpmn2:incoming>_20625C82-135B-4613-839C-94DBD2A22C94</bpmn2:incoming>
         <bpmn2:outgoing>_3FF29383-5BF4-4A42-B9E7-349D1E395685</bpmn2:outgoing>
         <bpmn2:ioSpecification id="_kUfyJ4QjEeOtzOSZYcxrQA">
            <bpmn2:dataInput id="_0C695D49-5941-41C6-9F8D-5E20947EA22D_TaskNameInput" name="TaskName" />
            <bpmn2:dataOutput id="_0C695D49-5941-41C6-9F8D-5E20947EA22D_opinionsOutput" itemSubjectRef="__0C695D49-5941-41C6-9F8D-5E20947EA22D_opinionsOutputItem" name="opinions" />
            <bpmn2:inputSet id="_kUfyKYQjEeOtzOSZYcxrQA" />
            <bpmn2:outputSet id="_kUfyKIQjEeOtzOSZYcxrQA">
               <bpmn2:dataOutputRefs>_0C695D49-5941-41C6-9F8D-5E20947EA22D_opinionsOutput</bpmn2:dataOutputRefs>
            </bpmn2:outputSet>
         </bpmn2:ioSpecification>
         <bpmn2:dataInputAssociation id="_kUfyKoQjEeOtzOSZYcxrQA">
            <bpmn2:targetRef>_0C695D49-5941-41C6-9F8D-5E20947EA22D_TaskNameInput</bpmn2:targetRef>
            <bpmn2:assignment id="_kUfyK4QjEeOtzOSZYcxrQA">
               <bpmn2:from xsi:type="bpmn2:tFormalExpression" id="_kUfyLIQjEeOtzOSZYcxrQA">areOpinionsNeeded</bpmn2:from>
               <bpmn2:to xsi:type="bpmn2:tFormalExpression" id="_kUfyLYQjEeOtzOSZYcxrQA">_0C695D49-5941-41C6-9F8D-5E20947EA22D_TaskNameInput</bpmn2:to>
            </bpmn2:assignment>
         </bpmn2:dataInputAssociation>
      </bpmn2:userTask>
      <bpmn2:exclusiveGateway id="_DC6FE0B8-23EE-489E-B3EB-430641F321AB" name="" gatewayDirection="Diverging">
         <bpmn2:incoming>_3FF29383-5BF4-4A42-B9E7-349D1E395685</bpmn2:incoming>
         <bpmn2:outgoing>_39476200-AD59-4906-A253-75CED08D7279</bpmn2:outgoing>
         <bpmn2:outgoing>_22452F32-81B4-4E43-AE3D-C2104C403412</bpmn2:outgoing>
      </bpmn2:exclusiveGateway>
      <bpmn2:sequenceFlow id="_3FF29383-5BF4-4A42-B9E7-349D1E395685" sourceRef="_0C695D49-5941-41C6-9F8D-5E20947EA22D" targetRef="_DC6FE0B8-23EE-489E-B3EB-430641F321AB" />
      <bpmn2:exclusiveGateway id="_CA1A9953-0244-4570-982C-484A28926A41" name="" gatewayDirection="Converging">
         <bpmn2:incoming>_2B620948-5B7A-412C-9075-DC0657D814E5</bpmn2:incoming>
         <bpmn2:incoming>_22452F32-81B4-4E43-AE3D-C2104C403412</bpmn2:incoming>
         <bpmn2:outgoing>_28FDBEF2-9858-4D56-BE2E-039A0A8F7AA8</bpmn2:outgoing>
      </bpmn2:exclusiveGateway>
      <bpmn2:sequenceFlow id="_39476200-AD59-4906-A253-75CED08D7279" name="yes" sourceRef="_DC6FE0B8-23EE-489E-B3EB-430641F321AB" targetRef="_09ABBA31-AA57-4497-A39A-1730ABABCA27">
         <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression" id="_kUfyLoQjEeOtzOSZYcxrQA" language="http://www.java.com/java"><![CDATA[return opinions.equals("yes");]]></bpmn2:conditionExpression>
      </bpmn2:sequenceFlow>
      <bpmn2:sequenceFlow id="_2B620948-5B7A-412C-9075-DC0657D814E5" name="no" sourceRef="_A7BC6A64-19F3-43B1-90AA-A1D424D21304" targetRef="_CA1A9953-0244-4570-982C-484A28926A41">
         <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression" id="_kUfyL4QjEeOtzOSZYcxrQA" language="http://www.java.com/java"><![CDATA[return opinions.equals("no");]]></bpmn2:conditionExpression>
      </bpmn2:sequenceFlow>
      <bpmn2:sequenceFlow id="_22452F32-81B4-4E43-AE3D-C2104C403412" name="no" sourceRef="_DC6FE0B8-23EE-489E-B3EB-430641F321AB" targetRef="_CA1A9953-0244-4570-982C-484A28926A41">
         <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression" id="_kUfyMIQjEeOtzOSZYcxrQA" language="http://www.java.com/java"><![CDATA[return opinions.equals("no");]]></bpmn2:conditionExpression>
      </bpmn2:sequenceFlow>
      <bpmn2:userTask id="_9001AA8F-DFED-4D59-8252-0AF7D9A22EF3" name="need more opinions?">
         <bpmn2:incoming>_CEB5BC79-3DF0-4E80-B656-3E1DA55760D0</bpmn2:incoming>
         <bpmn2:outgoing>_2F617FB7-58B6-4BCA-9751-543082F89B20</bpmn2:outgoing>
         <bpmn2:ioSpecification id="_kUfyMYQjEeOtzOSZYcxrQA">
            <bpmn2:dataInput id="_9001AA8F-DFED-4D59-8252-0AF7D9A22EF3_TaskNameInput" name="TaskName" />
            <bpmn2:dataOutput id="_9001AA8F-DFED-4D59-8252-0AF7D9A22EF3_opinionsOutput" itemSubjectRef="__9001AA8F-DFED-4D59-8252-0AF7D9A22EF3_opinionsOutputItem" name="opinions" />
            <bpmn2:inputSet id="_kUfyM4QjEeOtzOSZYcxrQA" />
            <bpmn2:outputSet id="_kUfyMoQjEeOtzOSZYcxrQA">
               <bpmn2:dataOutputRefs>_9001AA8F-DFED-4D59-8252-0AF7D9A22EF3_opinionsOutput</bpmn2:dataOutputRefs>
            </bpmn2:outputSet>
         </bpmn2:ioSpecification>
         <bpmn2:dataInputAssociation id="_kUfyNIQjEeOtzOSZYcxrQA">
            <bpmn2:targetRef>_9001AA8F-DFED-4D59-8252-0AF7D9A22EF3_TaskNameInput</bpmn2:targetRef>
            <bpmn2:assignment id="_kUfyNYQjEeOtzOSZYcxrQA">
               <bpmn2:from xsi:type="bpmn2:tFormalExpression" id="_kUfyNoQjEeOtzOSZYcxrQA">doYouNeedMoreOpinions</bpmn2:from>
               <bpmn2:to xsi:type="bpmn2:tFormalExpression" id="_kUfyN4QjEeOtzOSZYcxrQA">_9001AA8F-DFED-4D59-8252-0AF7D9A22EF3_TaskNameInput</bpmn2:to>
            </bpmn2:assignment>
         </bpmn2:dataInputAssociation>
      </bpmn2:userTask>
      <bpmn2:exclusiveGateway id="_09ABBA31-AA57-4497-A39A-1730ABABCA27" name="" gatewayDirection="Converging">
         <bpmn2:incoming>_EFB63ED0-5825-4454-BBD7-F67EDF441C83</bpmn2:incoming>
         <bpmn2:incoming>_39476200-AD59-4906-A253-75CED08D7279</bpmn2:incoming>
         <bpmn2:outgoing>_CEB5BC79-3DF0-4E80-B656-3E1DA55760D0</bpmn2:outgoing>
      </bpmn2:exclusiveGateway>
      <bpmn2:exclusiveGateway id="_A7BC6A64-19F3-43B1-90AA-A1D424D21304" name="" gatewayDirection="Diverging">
         <bpmn2:incoming>_2F617FB7-58B6-4BCA-9751-543082F89B20</bpmn2:incoming>
         <bpmn2:outgoing>_2B620948-5B7A-412C-9075-DC0657D814E5</bpmn2:outgoing>
         <bpmn2:outgoing>_EFB63ED0-5825-4454-BBD7-F67EDF441C83</bpmn2:outgoing>
      </bpmn2:exclusiveGateway>
      <bpmn2:sequenceFlow id="_2F617FB7-58B6-4BCA-9751-543082F89B20" sourceRef="_9001AA8F-DFED-4D59-8252-0AF7D9A22EF3" targetRef="_A7BC6A64-19F3-43B1-90AA-A1D424D21304" />
      <bpmn2:sequenceFlow id="_EFB63ED0-5825-4454-BBD7-F67EDF441C83" name="yes" sourceRef="_A7BC6A64-19F3-43B1-90AA-A1D424D21304" targetRef="_09ABBA31-AA57-4497-A39A-1730ABABCA27">
         <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression" id="_kUfyOIQjEeOtzOSZYcxrQA" language="http://www.java.com/java"><![CDATA[return opinions.equals("yes");]]></bpmn2:conditionExpression>
      </bpmn2:sequenceFlow>
      <bpmn2:exclusiveGateway id="_A11305E5-323A-4DF7-B345-148498C3663B" name="">
         <bpmn2:incoming>_7585AD7B-0030-484E-8476-DA0E66128D31</bpmn2:incoming>
         <bpmn2:outgoing>_20625C82-135B-4613-839C-94DBD2A22C94</bpmn2:outgoing>
      </bpmn2:exclusiveGateway>
      <bpmn2:sequenceFlow id="_20625C82-135B-4613-839C-94DBD2A22C94" sourceRef="_A11305E5-323A-4DF7-B345-148498C3663B" targetRef="_0C695D49-5941-41C6-9F8D-5E20947EA22D" />
      <bpmn2:sequenceFlow id="_7585AD7B-0030-484E-8476-DA0E66128D31" name="no more writers" sourceRef="_110F950F-7688-424A-94FB-14D070DD2EBD" targetRef="_A11305E5-323A-4DF7-B345-148498C3663B">
         <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression" id="_kUfyOYQjEeOtzOSZYcxrQA" language="http://www.java.com/java"><![CDATA[return true; //return writers.length == 1;]]></bpmn2:conditionExpression>
      </bpmn2:sequenceFlow>
      <bpmn2:exclusiveGateway id="_110F950F-7688-424A-94FB-14D070DD2EBD" name="">
         <bpmn2:incoming>_40FAC405-8966-4B78-9567-904AEFACACC5</bpmn2:incoming>
         <bpmn2:outgoing>_7585AD7B-0030-484E-8476-DA0E66128D31</bpmn2:outgoing>
      </bpmn2:exclusiveGateway>
      <bpmn2:sequenceFlow id="_40FAC405-8966-4B78-9567-904AEFACACC5" sourceRef="_805B5BE2-8D74-491F-80AD-C8B13601139A" targetRef="_110F950F-7688-424A-94FB-14D070DD2EBD" />
      <bpmn2:sequenceFlow id="_CEB5BC79-3DF0-4E80-B656-3E1DA55760D0" sourceRef="_09ABBA31-AA57-4497-A39A-1730ABABCA27" targetRef="_9001AA8F-DFED-4D59-8252-0AF7D9A22EF3" />
      <bpmn2:serviceTask id="_191CA938-E3C3-4FF3-A046-C55CCD466872" name="Declare record" implementation="Java" operationRef="_191CA938-E3C3-4FF3-A046-C55CCD466872_ServiceOperation">
         <bpmn2:incoming>_28FDBEF2-9858-4D56-BE2E-039A0A8F7AA8</bpmn2:incoming>
         <bpmn2:outgoing>_DF47C354-77FE-423F-9A67-FE165B1DFA2B</bpmn2:outgoing>
      </bpmn2:serviceTask>
      <bpmn2:manualTask id="_2240C63A-71C7-4833-9853-FB8A09524978" name="Send letter to who stamps letters">
         <bpmn2:incoming>_C308EA54-FB55-4795-A2DE-FA8A08CB10D4</bpmn2:incoming>
         <bpmn2:outgoing>_41A83B01-225F-4701-A43A-973AEC98EABA</bpmn2:outgoing>
      </bpmn2:manualTask>
      <bpmn2:manualTask id="_30B799D2-A791-474C-92A0-B5AD94D94D38" name="Stamp letter">
         <bpmn2:incoming>_41A83B01-225F-4701-A43A-973AEC98EABA</bpmn2:incoming>
         <bpmn2:outgoing>_EF19C11B-7524-4752-8272-B856D9F71D2B</bpmn2:outgoing>
      </bpmn2:manualTask>
      <bpmn2:sequenceFlow id="_41A83B01-225F-4701-A43A-973AEC98EABA" sourceRef="_2240C63A-71C7-4833-9853-FB8A09524978" targetRef="_30B799D2-A791-474C-92A0-B5AD94D94D38" />
      <bpmn2:manualTask id="_9FB5CA14-A032-43B9-9D31-0E828376EB5F" name="Deliver letter to the post office">
         <bpmn2:incoming>_EF19C11B-7524-4752-8272-B856D9F71D2B</bpmn2:incoming>
         <bpmn2:outgoing>_E50B6BA3-A114-476A-8B9F-2A195DDBAAD7</bpmn2:outgoing>
      </bpmn2:manualTask>
      <bpmn2:sequenceFlow id="_EF19C11B-7524-4752-8272-B856D9F71D2B" sourceRef="_30B799D2-A791-474C-92A0-B5AD94D94D38" targetRef="_9FB5CA14-A032-43B9-9D31-0E828376EB5F" />
      <bpmn2:sequenceFlow id="_E50B6BA3-A114-476A-8B9F-2A195DDBAAD7" sourceRef="_9FB5CA14-A032-43B9-9D31-0E828376EB5F" targetRef="_E60E8314-46AF-4CE3-BD05-EBACF04E2E54" />
      <bpmn2:endEvent id="_E60E8314-46AF-4CE3-BD05-EBACF04E2E54" name="">
         <bpmn2:incoming>_E50B6BA3-A114-476A-8B9F-2A195DDBAAD7</bpmn2:incoming>
         <bpmn2:terminateEventDefinition id="_kUfyOoQjEeOtzOSZYcxrQA" />
      </bpmn2:endEvent>
      <bpmn2:sequenceFlow id="_28FDBEF2-9858-4D56-BE2E-039A0A8F7AA8" sourceRef="_CA1A9953-0244-4570-982C-484A28926A41" targetRef="_191CA938-E3C3-4FF3-A046-C55CCD466872" />
      <bpmn2:manualTask id="_61B82A80-22F2-4752-AFC8-4B4D7FA5B0EA" name="Print letter">
         <bpmn2:incoming>_DF47C354-77FE-423F-9A67-FE165B1DFA2B</bpmn2:incoming>
         <bpmn2:outgoing>_C308EA54-FB55-4795-A2DE-FA8A08CB10D4</bpmn2:outgoing>
      </bpmn2:manualTask>
      <bpmn2:sequenceFlow id="_DF47C354-77FE-423F-9A67-FE165B1DFA2B" sourceRef="_191CA938-E3C3-4FF3-A046-C55CCD466872" targetRef="_61B82A80-22F2-4752-AFC8-4B4D7FA5B0EA" />
      <bpmn2:sequenceFlow id="_C308EA54-FB55-4795-A2DE-FA8A08CB10D4" sourceRef="_61B82A80-22F2-4752-AFC8-4B4D7FA5B0EA" targetRef="_2240C63A-71C7-4833-9853-FB8A09524978" />
   </bpmn2:process>
   <bpmndi:BPMNDiagram id="_kUfyO4QjEeOtzOSZYcxrQA">
      <bpmndi:BPMNPlane id="_kUfyPIQjEeOtzOSZYcxrQA" bpmnElement="sendLetter.sendLetter">
         <bpmndi:BPMNShape id="_kUfyPYQjEeOtzOSZYcxrQA" bpmnElement="_F56062A8-2ECD-46C5-BD5E-86331AA72AED">
            <dc:Bounds height="30.0" width="30.0" x="75.0" y="180.0" />
         </bpmndi:BPMNShape>
         <bpmndi:BPMNShape id="_kUfyPoQjEeOtzOSZYcxrQA" bpmnElement="_805B5BE2-8D74-491F-80AD-C8B13601139A">
            <dc:Bounds height="90.0" width="112.0" x="210.0" y="150.0" />
         </bpmndi:BPMNShape>
         <bpmndi:BPMNEdge id="_kUfyP4QjEeOtzOSZYcxrQA" bpmnElement="_C77262A9-B3D5-4D36-8A7A-9B825EA71C59">
            <di:waypoint xsi:type="dc:Point" x="90.0" y="195.0" />
            <di:waypoint xsi:type="dc:Point" x="266.0" y="195.0" />
         </bpmndi:BPMNEdge>
         <bpmndi:BPMNShape id="_kUfyQIQjEeOtzOSZYcxrQA" bpmnElement="_0C695D49-5941-41C6-9F8D-5E20947EA22D">
            <dc:Bounds height="80.0" width="100.0" x="810.0" y="285.0" />
         </bpmndi:BPMNShape>
         <bpmndi:BPMNShape id="_kUfyQYQjEeOtzOSZYcxrQA" bpmnElement="_DC6FE0B8-23EE-489E-B3EB-430641F321AB">
            <dc:Bounds height="40.0" width="40.0" x="840.0" y="437.0" />
         </bpmndi:BPMNShape>
         <bpmndi:BPMNEdge id="_kUfyQoQjEeOtzOSZYcxrQA" bpmnElement="_3FF29383-5BF4-4A42-B9E7-349D1E395685">
            <di:waypoint xsi:type="dc:Point" x="860.0" y="325.0" />
            <di:waypoint xsi:type="dc:Point" x="860.0" y="457.0" />
         </bpmndi:BPMNEdge>
         <bpmndi:BPMNShape id="_kUfyQ4QjEeOtzOSZYcxrQA" bpmnElement="_CA1A9953-0244-4570-982C-484A28926A41">
            <dc:Bounds height="40.0" width="40.0" x="840.0" y="545.0" />
         </bpmndi:BPMNShape>
         <bpmndi:BPMNEdge id="_kUfyRIQjEeOtzOSZYcxrQA" bpmnElement="_39476200-AD59-4906-A253-75CED08D7279">
            <di:waypoint xsi:type="dc:Point" x="860.0" y="457.0" />
            <di:waypoint xsi:type="dc:Point" x="737.0" y="457.0" />
         </bpmndi:BPMNEdge>
         <bpmndi:BPMNEdge id="_kUfyRYQjEeOtzOSZYcxrQA" bpmnElement="_2B620948-5B7A-412C-9075-DC0657D814E5">
            <di:waypoint xsi:type="dc:Point" x="737.0" y="565.0" />
            <di:waypoint xsi:type="dc:Point" x="860.0" y="565.0" />
         </bpmndi:BPMNEdge>
         <bpmndi:BPMNEdge id="_kUfyRoQjEeOtzOSZYcxrQA" bpmnElement="_22452F32-81B4-4E43-AE3D-C2104C403412">
            <di:waypoint xsi:type="dc:Point" x="860.0" y="457.0" />
            <di:waypoint xsi:type="dc:Point" x="860.0" y="565.0" />
         </bpmndi:BPMNEdge>
         <bpmndi:BPMNShape id="_kUfyR4QjEeOtzOSZYcxrQA" bpmnElement="_9001AA8F-DFED-4D59-8252-0AF7D9A22EF3">
            <dc:Bounds height="80.0" width="100.0" x="390.0" y="525.0" />
         </bpmndi:BPMNShape>
         <bpmndi:BPMNShape id="_kUfySIQjEeOtzOSZYcxrQA" bpmnElement="_09ABBA31-AA57-4497-A39A-1730ABABCA27">
            <dc:Bounds height="40.0" width="40.0" x="717.0" y="437.0" />
         </bpmndi:BPMNShape>
         <bpmndi:BPMNShape id="_kUfySYQjEeOtzOSZYcxrQA" bpmnElement="_A7BC6A64-19F3-43B1-90AA-A1D424D21304">
            <dc:Bounds height="40.0" width="40.0" x="717.0" y="545.0" />
         </bpmndi:BPMNShape>
         <bpmndi:BPMNEdge id="_kUfySoQjEeOtzOSZYcxrQA" bpmnElement="_2F617FB7-58B6-4BCA-9751-543082F89B20">
            <di:waypoint xsi:type="dc:Point" x="440.0" y="565.0" />
            <di:waypoint xsi:type="dc:Point" x="737.0" y="565.0" />
         </bpmndi:BPMNEdge>
         <bpmndi:BPMNEdge id="_kUgZMIQjEeOtzOSZYcxrQA" bpmnElement="_EFB63ED0-5825-4454-BBD7-F67EDF441C83">
            <di:waypoint xsi:type="dc:Point" x="737.0" y="565.0" />
            <di:waypoint xsi:type="dc:Point" x="737.0" y="457.0" />
         </bpmndi:BPMNEdge>
         <bpmndi:BPMNShape id="_kUgZMYQjEeOtzOSZYcxrQA" bpmnElement="_A11305E5-323A-4DF7-B345-148498C3663B">
            <dc:Bounds height="40.0" width="40.0" x="840.0" y="175.0" />
         </bpmndi:BPMNShape>
         <bpmndi:BPMNEdge id="_kUgZMoQjEeOtzOSZYcxrQA" bpmnElement="_20625C82-135B-4613-839C-94DBD2A22C94">
            <di:waypoint xsi:type="dc:Point" x="860.0" y="195.0" />
            <di:waypoint xsi:type="dc:Point" x="860.0" y="325.0" />
         </bpmndi:BPMNEdge>
         <bpmndi:BPMNEdge id="_kUgZM4QjEeOtzOSZYcxrQA" bpmnElement="_7585AD7B-0030-484E-8476-DA0E66128D31">
            <di:waypoint xsi:type="dc:Point" x="491.0" y="195.0" />
            <di:waypoint xsi:type="dc:Point" x="860.0" y="195.0" />
         </bpmndi:BPMNEdge>
         <bpmndi:BPMNShape id="_kUgZNIQjEeOtzOSZYcxrQA" bpmnElement="_110F950F-7688-424A-94FB-14D070DD2EBD">
            <dc:Bounds height="40.0" width="40.0" x="471.0" y="175.0" />
         </bpmndi:BPMNShape>
         <bpmndi:BPMNEdge id="_kUgZNYQjEeOtzOSZYcxrQA" bpmnElement="_40FAC405-8966-4B78-9567-904AEFACACC5">
            <di:waypoint xsi:type="dc:Point" x="266.0" y="195.0" />
            <di:waypoint xsi:type="dc:Point" x="491.0" y="195.0" />
         </bpmndi:BPMNEdge>
         <bpmndi:BPMNEdge id="_kUgZNoQjEeOtzOSZYcxrQA" bpmnElement="_CEB5BC79-3DF0-4E80-B656-3E1DA55760D0">
            <di:waypoint xsi:type="dc:Point" x="737.0" y="457.0" />
            <di:waypoint xsi:type="dc:Point" x="440.0" y="457.0" />
            <di:waypoint xsi:type="dc:Point" x="440.0" y="565.0" />
         </bpmndi:BPMNEdge>
         <bpmndi:BPMNShape id="_kUgZN4QjEeOtzOSZYcxrQA" bpmnElement="_191CA938-E3C3-4FF3-A046-C55CCD466872">
            <dc:Bounds height="80.0" width="100.0" x="810.0" y="690.0" />
         </bpmndi:BPMNShape>
         <bpmndi:BPMNShape id="_kUgZOIQjEeOtzOSZYcxrQA" bpmnElement="_2240C63A-71C7-4833-9853-FB8A09524978">
            <dc:Bounds height="80.0" width="100.0" x="390.0" y="825.0" />
         </bpmndi:BPMNShape>
         <bpmndi:BPMNShape id="_kUgZOYQjEeOtzOSZYcxrQA" bpmnElement="_30B799D2-A791-474C-92A0-B5AD94D94D38">
            <dc:Bounds height="80.0" width="100.0" x="810.0" y="825.0" />
         </bpmndi:BPMNShape>
         <bpmndi:BPMNEdge id="_kUgZOoQjEeOtzOSZYcxrQA" bpmnElement="_41A83B01-225F-4701-A43A-973AEC98EABA">
            <di:waypoint xsi:type="dc:Point" x="440.0" y="865.0" />
            <di:waypoint xsi:type="dc:Point" x="860.0" y="865.0" />
         </bpmndi:BPMNEdge>
         <bpmndi:BPMNShape id="_kUgZO4QjEeOtzOSZYcxrQA" bpmnElement="_9FB5CA14-A032-43B9-9D31-0E828376EB5F">
            <dc:Bounds height="80.0" width="100.0" x="810.0" y="975.0" />
         </bpmndi:BPMNShape>
         <bpmndi:BPMNEdge id="_kUgZPIQjEeOtzOSZYcxrQA" bpmnElement="_EF19C11B-7524-4752-8272-B856D9F71D2B">
            <di:waypoint xsi:type="dc:Point" x="860.0" y="865.0" />
            <di:waypoint xsi:type="dc:Point" x="860.0" y="1015.0" />
         </bpmndi:BPMNEdge>
         <bpmndi:BPMNEdge id="_kUgZPYQjEeOtzOSZYcxrQA" bpmnElement="_E50B6BA3-A114-476A-8B9F-2A195DDBAAD7">
            <di:waypoint xsi:type="dc:Point" x="860.0" y="1015.0" />
            <di:waypoint xsi:type="dc:Point" x="440.0" y="1015.0" />
         </bpmndi:BPMNEdge>
         <bpmndi:BPMNShape id="_kUgZPoQjEeOtzOSZYcxrQA" bpmnElement="_E60E8314-46AF-4CE3-BD05-EBACF04E2E54">
            <dc:Bounds height="28.0" width="28.0" x="426.0" y="1001.0" />
         </bpmndi:BPMNShape>
         <bpmndi:BPMNEdge id="_kUgZP4QjEeOtzOSZYcxrQA" bpmnElement="_28FDBEF2-9858-4D56-BE2E-039A0A8F7AA8">
            <di:waypoint xsi:type="dc:Point" x="860.0" y="565.0" />
            <di:waypoint xsi:type="dc:Point" x="860.0" y="730.0" />
         </bpmndi:BPMNEdge>
         <bpmndi:BPMNShape id="_kUgZQIQjEeOtzOSZYcxrQA" bpmnElement="_61B82A80-22F2-4752-AFC8-4B4D7FA5B0EA">
            <dc:Bounds height="80.0" width="100.0" x="390.0" y="690.0" />
         </bpmndi:BPMNShape>
         <bpmndi:BPMNEdge id="_kUgZQYQjEeOtzOSZYcxrQA" bpmnElement="_DF47C354-77FE-423F-9A67-FE165B1DFA2B">
            <di:waypoint xsi:type="dc:Point" x="860.0" y="730.0" />
            <di:waypoint xsi:type="dc:Point" x="440.0" y="730.0" />
         </bpmndi:BPMNEdge>
         <bpmndi:BPMNEdge id="_kUgZQoQjEeOtzOSZYcxrQA" bpmnElement="_C308EA54-FB55-4795-A2DE-FA8A08CB10D4">
            <di:waypoint xsi:type="dc:Point" x="440.0" y="730.0" />
            <di:waypoint xsi:type="dc:Point" x="440.0" y="865.0" />
         </bpmndi:BPMNEdge>
      </bpmndi:BPMNPlane>
   </bpmndi:BPMNDiagram>
</bpmn2:definitions>



When I choose this in the workflows list, this appears in the StdOut:
2014-01-24 16:14:38,409  ERROR [scripts.forms.FormUIGet] [http-apr-8080-exec-5] java.lang.NullPointerException: null

I'm using the alfresco community out-of-the-box with only these changes

I already tried to run this on the activiti engine but it won't run. This appears in the StdOut:


Caused by: org.activiti.engine.ActivitiException: cvc-datatype-valid.1.2.1: '' is not a valid value for 'QName'. | eb635ce7-042d-42f8-8566-d61b307b343fbpmn20.xml | line 7 | column 108
cvc-attribute.3: The value '' of attribute 'implementationRef' on element 'bpmn2:interface' is not valid with respect to its type, 'QName'. | eb635ce7-042d-42f8-8566-d61b307b343fbpmn20.xml | line 7 | column 108
cvc-datatype-valid.1.2.1: '' is not a valid value for 'QName'. | eb635ce7-042d-42f8-8566-d61b307b343fbpmn20.xml | line 8 | column 109
cvc-attribute.3: The value '' of attribute 'implementationRef' on element 'bpmn2:operation' is not valid with respect to its type, 'QName'. | eb635ce7-042d-42f8-8566-d61b307b343fbpmn20.xml | line 8 | column 109
One of the attributes 'class', 'delegateExpression', 'type', 'operation', or 'expression' is mandatory on serviceTask. | eb635ce7-042d-42f8-8566-d61b307b343fbpmn20.xml | line 127 | column 179

And I only understand partly what it means.

Outcomes