AnsweredAssumed Answered

MI User task followed by a  Service Task

Question asked by luisalves00 on Oct 2, 2013
Latest reply on Oct 9, 2013 by frederikheremans1

Part of my workflow goes like this:

      <userTask id="Auth-Request-Program"
         name="Program Auth (${requestN} / ${})"
                <activiti:taskListener event="create" class="org.flow.activiti.SetPriorityTaskListener">
                    <activiti:field name="priority" stringValue="1" />
                <activiti:taskListener event="create" class="org.flow.activiti.SetProgrammingIdTaskListener" />
            <multiInstanceLoopCharacteristics isSequential="false">
                <inputDataItem name="programmerGroupItem" />
      <sequenceFlow id="flow18" name="" sourceRef="Auth-Request-Program"
      <serviceTask id="servicetask6" name="Finally Create Auths"

So…when a group of users finish all task the service task is executed.

PROBLEM: when the last user finish his task, the 'servicetask6' executes and fails, but the user task seems to be completed anyway. Is it supposed to work this way? I was expecting the last User Task to be sync with the following Service Task. Now how can I re-execute the 'servicetask6' ?

thanks in advance.