}
} else {
syncPolicySpec = syncTask.getResource().getSyncPolicy().<SyncPolicySpec>getSpecification();
}
SyncCorrelationRule syncRule = null;
List<String> altSearchSchemas = null;
if (syncPolicySpec != null) {
syncRule = attrUtil.getCorrelationRule(syncPolicySpec);
altSearchSchemas = attrUtil.getAltSearchSchemas(syncPolicySpec);