Services Standard BeforeProvisioning Rule - Clear Multi-Valued Attribute

I have deployed the Services Standard BeforeProvisioning Rule on a SAP Direct source and it is configured to set a few attributes to null on account disable using the UpdateAttribute Action. This works as expected for single valued attributes.

However, when I try and set a multi-valued attribute to null, the update fails to clear the attribute. No error is reported.

Has anyone used the cloud rule on a non-AD Source and managed to clear a multi-valued attribute?

Hello @ady1 ,
check if the multivalued attribute is instance of list -
import java.util.Collections; Collections.fill(<your attribute name>, null);

I would try using the Remove Entitlements option since we have to set multivalued attributes up like entitlements. You should be able to do something like:


{
 "Action":"RemoveEntitlements",
 "Attribute":"memberOf",
 "Value":null
}

just change the name of the Attribute.

Thanks for the suggestion - that worked!