How to get selected entitlement attribute details into provisioning request using before provisioning

Hi Everyone,

I need to get l2 l3 attribute values into provisioning request

I am able to get entitlement name from attribute request but I am not able to fetch details from it

As we can’t search entitlement by name

Hi @Chiru_1307

With Entitlement value, you can search it with Name directly using

ManagedAttribute entitlement = context.getObjectByName(ManagedAttribute.class, "NameOfEntitlement");

Else, you can filter ManagedAttributes using Filters like this

Filter f1 = Filter.eq("attribute", "teams");
Filter f2 = Filter.eq("displayName", teamValue);
Filter finalFilter = Filter.and(f1,f2);

ManagedAttribute entitlement = context.getUniqueObject(ManagedAttribute.class, finalFilter);

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