if (target == null) {
addError(errors, Problems.SEQ_FLOW_INVALID_TARGET, process, sequenceFlow, "Invalid target for sequenceflow");
}
if (source != null && target != null) {
FlowElementsContainer sourceContainer = process.getFlowElementsContainerRecursive(source.getId());
FlowElementsContainer targetContainer = process.getFlowElementsContainerRecursive(target.getId());
if (sourceContainer == null) {
addError(errors, Problems.SEQ_FLOW_INVALID_SRC, process, sequenceFlow, "Invalid source for sequenceflow");
}
if (targetContainer == null) {