List<PropagationTask> tasks = propagationManager.getRoleUpdateTaskIds(updated,
roleMod.getVirtualAttributesToBeRemoved(), roleMod.getVirtualAttributesToBeUpdated());
final List<PropagationStatusTO> propagations = new ArrayList<PropagationStatusTO>();
final DefaultPropagationHandler propHanlder = new DefaultPropagationHandler(connObjectUtil, propagations);
try {
taskExecutor.execute(tasks, new DefaultPropagationHandler(connObjectUtil, propagations));
} catch (PropagationException e) {
LOG.error("Error propagation primary resource", e);
propHanlder.completeWhenPrimaryResourceErrored(propagations, tasks);
}
final RoleTO updatedTO = binder.getRoleTO(updated.getResult());
updatedTO.setPropagationStatusTOs(propagations);
auditManager.audit(Category.role, RoleSubCategory.update, Result.success,