07-19-2012 11:02 PM
07-20-2012 03:08 AM
} catch (Exception exc) {
Throwable cause = exc;
BpmnError error = null;
while (cause != null) {
if (cause instanceof BpmnError) {
error = (BpmnError) cause;
break;
}
cause = cause.getCause();
}
if (error != null) {
ErrorPropagation.propagateError(error, execution);
} else {
throw exc;
}
}
08-10-2012 01:28 PM
<process id="multiSubProcess">
<startEvent id="sid-D59EFC88-5697-4ED8-87A2-53FDDFF403AA"></startEvent>
<subProcess id="bookSubProcess" name="Book Domain">
<multiInstanceLoopCharacteristics isSequential="false" activiti:collection="orderItemCol" activiti:elementVariable="orderItem"></multiInstanceLoopCharacteristics>
<startEvent id="start" name="Start"></startEvent>
<serviceTask id="bookDomain" name="Book" activiti:expression="#{multiSubProcess.bookDomain(processError, orderItem)}"></serviceTask>
<boundaryEvent id="boundaryerror4" cancelActivity="false" attachedToRef="bookDomain">
<errorEventDefinition></errorEventDefinition>
</boundaryEvent>
<endEvent id="end" name="End"></endEvent>
<serviceTask id="validateDomain" name="Validate" activiti:expression="#{multiSubProcess.validateOrderElem(processError, orderItem)}"></serviceTask>
<boundaryEvent id="boundaryerror2" name="" cancelActivity="false" attachedToRef="validateDomain">
<errorEventDefinition></errorEventDefinition>
</boundaryEvent>
<endEvent id="endevent1" name="End"></endEvent>
<sequenceFlow id="flow3" name="" sourceRef="bookDomain" targetRef="end"></sequenceFlow>
<sequenceFlow id="flow4" name="" sourceRef="start" targetRef="validateDomain"></sequenceFlow>
<sequenceFlow id="flow5" name="" sourceRef="validateDomain" targetRef="bookDomain"></sequenceFlow>
</subProcess>
<endEvent id="sid-4F5FE891-7E26-445F-9324-416B5E244D8B"></endEvent>
<sequenceFlow id="flow6" name="" sourceRef="sid-D59EFC88-5697-4ED8-87A2-53FDDFF403AA" targetRef="bookSubProcess"></sequenceFlow>
<sequenceFlow id="flow7" name="" sourceRef="bookSubProcess" targetRef="sid-4F5FE891-7E26-445F-9324-416B5E244D8B"></sequenceFlow>
<sequenceFlow id="flow8" name="" sourceRef="boundaryerror2" targetRef="endevent1"></sequenceFlow>
<sequenceFlow id="flow9" name="" sourceRef="boundaryerror4" targetRef="endevent1"></sequenceFlow>
</process>
08-14-2012 01:14 AM
08-14-2012 09:27 AM
08-16-2012 06:50 AM
08-16-2012 07:17 AM
08-30-2012 04:51 AM
cancelActivity="true"
resolved it.cancelActivity="false"
?09-11-2012 12:03 PM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.