Hi Everyone,
I have a requirement where I need to pass 3–4 entitlements across different attributes, and 2 entitlements of the same attribute.
Right now I am passing 3–4 entitlements across different attributes
I’m currently using the following request body in the Add Entitlement operation:
{
"ID": "$getobject.nativeIdentity$",
"Role": "$plan.role$",
"Treasurer": "$plan.treasurer$",
"FullAdministrator": "$plan.fullAdministrator$"
}
While the Role
attribute is being mapped successfully, both Treasurer
and FullAdministrator
are not mapping correctly. Interestingly, if I replace $plan.treasurer$
with a static value like 1
, it works as expected — the value is passed successfully.
To troubleshoot, we have:
- Defined these attributes (
Treasurer
,FullAdministrator
) as entitlements in the Account Schema - Aggregated them
- Configured them in the Access Profile
Despite this, they are still not being passed. I also attempted using $getobject.treasurer$
, but it didn’t resolve the issue.
Provisioning events are triggered for each attribute under Add Entitlement
, but the attributes themselves are not appearing in the final payload. Please find the event logs screenshot below for reference.
and what should be the request body while passing 2 entitlements of the same attribute.
Looking forward to your guidance on this.