AnsweredAssumed Answered

Workflow Error

Question asked by joshjones on Aug 10, 2015
Latest reply on Aug 11, 2015 by darkredd
Hi,
I have created a workflow and deployed it in Alfresco using the workflow console, however when trying to run the error I get the message: 07100802 Failed to start workflow activiti$localReview:1:814.

This is the process:
  <process id="localReview" name="Local Review" isExecutable="true">
    <startEvent id="startEvent" name="Start" activiti:formKey="wf:newCaseReview"></startEvent>
    <serviceTask id="mailArea" name="Mail AC" activiti:type="mail">
      <extensionElements>
        <activiti:field name="to">
          <activiti:expression>${bpm_assignee.properties.userName}</activiti:expression>
        </activiti:field>
        <activiti:field name="text">
          <activiti:string><![CDATA[hello]]></activiti:string>
        </activiti:field>
        <activiti:field name="subject">
          <activiti:string><![CDATA[New Case up for Review]]></activiti:string>
        </activiti:field>
      </extensionElements>
    </serviceTask>
    <userTask id="gatherEvidence" name="AC gather evidence" activiti:assignee="${bpm_assignee.properties.userName}"></userTask>
    <sequenceFlow id="flow4" sourceRef="mailArea" targetRef="gatherEvidence"></sequenceFlow>
    <endEvent id="endEvent" name="TerminateEndEvent">
      <terminateEventDefinition></terminateEventDefinition>
    </endEvent>
    <userTask id="lReview" name="Local Review" activiti:assignee="${bpm_assignee.properties.userName}"></userTask>
    <userTask id="archive" name="Archive Case" activiti:assignee="${bpm_assignee.properties.userName}"></userTask>
    <sequenceFlow id="flow8" sourceRef="lReview" targetRef="archive"></sequenceFlow>
    <sequenceFlow id="flow9" name="Archive Folder" sourceRef="archive" targetRef="endEvent"></sequenceFlow>
    <serviceTask id="mailReviewers" name="Mail Reviewers" activiti:type="mail">
      <extensionElements>
        <activiti:field name="to">
          <activiti:expression>${bpm_assignee.properties.userName}</activiti:expression>
        </activiti:field>
        <activiti:field name="text">
          <activiti:string><![CDATA[hello]]></activiti:string>
        </activiti:field>
        <activiti:field name="subject">
          <activiti:string><![CDATA[Please Review Case]]></activiti:string>
        </activiti:field>
      </extensionElements>
    </serviceTask>
    <sequenceFlow id="flow17" sourceRef="mailReviewers" targetRef="lReview"></sequenceFlow>
    <sequenceFlow id="flow18" sourceRef="startEvent" targetRef="mailArea"></sequenceFlow>
    <sequenceFlow id="flow19" sourceRef="gatherEvidence" targetRef="mailReviewers"></sequenceFlow>
  </process>
 

Can anyone suggest a good book that goes into greater detail about using Activiti with Alfresco?

Outcomes