WorkflowStepCompleter.stepExecuting(opId);
_log.info("Unassigning file policy: {} from resource: {}", policyURI.toString(), policyRes.getAppliedAt().toString());
BiosCommandResult result = getDevice(storageObj.getSystemType()).doUnassignFilePolicy(storageObj, args);
if (result.getCommandPending()) {
return;
<BUG>} else if (result.isCommandSuccess()) {
filePolicy.removePolicyStorageResources(policyRes.getId());</BUG>
_dbClient.markForDeletion(policyRes);
_dbClient.updateObject(filePolicy);
_log.info("Unassigning file policy: {} from resource: {} finished successfully", policyURI.toString(),

WorkflowStepCompleter.stepExecuting(opId);
_log.info("Unassigning file policy: {} from resource: {}", policyURI.toString(), policyRes.getAppliedAt().toString());
BiosCommandResult result = getDevice(storageObj.getSystemType()).doUnassignFilePolicy(storageObj, args);
if (result.getCommandPending()) {
return;
} else if (result.isCommandSuccess()) {
resetReplicationFileSystemsRelation(filePolicy, policyRes);
filePolicy.removePolicyStorageResources(policyRes.getId());
_dbClient.markForDeletion(policyRes);
_dbClient.updateObject(filePolicy);
_log.info("Unassigning file policy: {} from resource: {} finished successfully", policyURI.toString(),
