if (request.get(ProvisioningParams.UNISON_EXEC_TYPE) != null && request.get(ProvisioningParams.UNISON_EXEC_TYPE).equals(ProvisioningParams.UNISON_EXEC_SYNC)) {
Iterator<WorkflowTask> it = this.tasks.iterator();
while (it.hasNext()) {
boolean doContinue = it.next().doTask(user,request);
if (! doContinue) {
<BUG>return;
}</BUG>
}
this.completeWorkflow();
} else {

if (request.get(ProvisioningParams.UNISON_EXEC_TYPE) != null && request.get(ProvisioningParams.UNISON_EXEC_TYPE).equals(ProvisioningParams.UNISON_EXEC_SYNC)) {
Iterator<WorkflowTask> it = this.tasks.iterator();
while (it.hasNext()) {
boolean doContinue = it.next().doTask(user,request);
if (! doContinue) {
return request;
}
}
this.completeWorkflow();
} else {
