Share all details about your problem, including any error messages you may have received.
result.addWarning("Group '" + groupValue + "' will be skipped as it is not managed by the system"); result.setStatus(ProvisioningResult.STATUS_FAILED);
provisioningPlan.setResult(result);
Hi all, Is there any means I can fail an individual request item? Or add a comment in the row?
If not possible, could I add a warning message to the request?
I am writing a custom before provisioning rule. Or will an after provisioning rule tied to Remove Entitlement operation work?
I dont know if it can help you, but you can use the ProvisioningResult in the after prov. rule, like this:
ProvisioningResult result = new ProvisioningResult();
result.setStatus(ProvisioningResult.STATUS_COMMITTED); -> when its ok
result.setStatus(ProvisioningResult.STATUS_FAILED); -> when its ko
result.addError(error);