Share all details related to your problem, including any error messages you may have received.
How to get account attributes and entitlement type in the jdbc provision rule for a jdbc source, on entitlement revoke in certification campaign. Currently I can see only the NativeIdentity and the entitlement name (which is revoked) is what I am getting in the jdbc provision rule. I want even retrieve the entitlement type for the role attribute from account couldn’t find any documentation on the same. Any references would be of great help!
userId from the below code segment is always returning as null, I tried provisioning policy after I found an topin in developer forum but not successful
@madhukumar
Can you please share more clear details here, did you try printing the plan to check if id is part of attribute request
Also do you have multiple object types of entitlement within your application or only one time, didn’t get your exact case related to type
@madhukumar The provisioning plan contains list of account requests and account request contains the native identity and application name.
Each account request contains list of attribute requests and each attribute request holds the name (i.e. the object type) and value (entitlement value).
In your case role is the object type, where id and name are 2 schema attributes of “role”.
As far I know, the provisioning plan never contains the schema attributes of the object type (i.e. role) unless we pass it to the plan through provisioning policy or any other means.
So, in your case, you have to use the attribute request name, value and application name to get the managed attribute object and from there you can get the necesssary attribute values (such as entitlement type).
Hope this makes sense.
In Identity Now, by creating the below provisioning policy managed to get account attributes in the JDBC Provisioning Rule for Revoke/Update operation. Still havn’t figured out how to pass the entitlement Types using provisioning policy.