Failed individual request item that cannot be called by web connector operation

Which IIQ version are you inquiring about?

8.4

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?

Hi @shijingg,

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);

Hi @enistri_devo ,

I tested it doesn’t fail that line. Could we simplify things and just add a warning message to the request?

on the IdentityRequest you can use setMessages​(java.util.List<Message> messages),
but take a look on javadoc

Hi @enistri_devo ,

Do you have any example of this usage in a web service connector before operation rule?