Managed Entitlement Customization Rule

Hi All,

I have a requirement that on entitlement level “mnp” variable should be true. For that I made changes in Manage Entitlement Customization Rule i.e. attribute.setAttribute(“mnp”, true);

To test it I have deleted one entitlement from debug page then executed the aggregation, group aggregation and refresh task, after these task executed successfully, entitlement came back but this value is not updating to true. Also added logs to check it but loggers are not generating for this rule.

What should be done for this or is there any other approach?

Thanks in advance.

Hi Sachin,
I see this topic is marked as IDN but I believe the debug page you mentioned is only in IIQ. Could you please confirm if we are talking about IDN or IIQ?

Anyway could you please share the rule and app definition?

Yes it is in IIQ. I modified it now.
This is the rule

Thanks, 2 more questions

  1. I know it’s obvious but just wanted to confirm - this rule is selected on the application definition and saved right?
  2. is mnp attribute present in the ManagedAttribute object config?

Yes it is selected and mnb attribute is present in ManagedAttribute object config.

Hi @SDM007 ,

ManagedAttributePromotion / Manage Entitlement Customization Rule is triggered only when aggregation task or an identity refresh task for which the “Promote managed attributes” option is selected. I would suggest you to use ResourceObjectCustomization Rule or GroupAggregationRefresh rule.

Below ResourceObjectCustomization rule can be used to set the value to true.

if(object != null){
  object.setAttribute("mnp",true);
}
return object;

One additional thing to check is that mnp attribute should be of type boolean. If it is a attribute of String type change the code as shown below

if(object != null){
  object.setAttribute("mnp","true");
}
return object;

Thanks @Jarin_James . I will try this approach

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.