Filtering Entitlements

Hi Team,

I am trying to stop bringing in certain entitlements that match a condition. I am doing this in a “Managed Entitlement Customization Rule”. I can see the logic is following the path I need to because of debugging statements, but when I return null to stop bringing in the ManagedAttribute, it just disregards this and still brings it in.

Is there more that needs to be done instead of just returning null? (this same logic works fine in a normal customization rule to filter out actual user accounts)

Thanks,
Anwar

Hey again @AnwarK, Thank you for posting. We will look into this and circle back with some insights on this for you soon.

Hey @AnwarK ,

Thanks for your patience on this question. Here’s what I have learned: The Managed Attribute Customization Rule cannot prevent the entitlement from being promoted to the catalog. By the time this rule is executed, the ManagedAttribute object has already been created, and the rule can only modify/enhance its attributes. You should consider using the “normal” Customization Rule.

Hi @jordan.violet , the normal customization rule worked for me. Thanks!

I am delighted to hear that it worked well for you, @AnwarK. Thanks again for posting and we look forward to seeing you around the community more in the future!