Share all details about your problem, including any error messages you may have received.
I have built a simple Business role (BU-Developer-Role). It does not get detected after running IR even though the user matches the condition.
In the Identity cube for the user under Entitlements tab, it shows ROLE_NAME = Developer from Appication My-Test-App.
In the IR “Refresh assigned, detected roles and promote additional entitlements” is Enabled.
Below is the Role Definition
NOTE: In the match condition, instead of ROLE_NAME = Developer from Appication My-Test-App if I choose an Identity Attibute, the SAME role get Deteced and Assigned.
Does anyone has an idea on why Business role not getting detected when I am pointing to My-Test-App?
Hello Aravind. Since this is a Business Role, the <Selector> is evaluated as an assignment rule. The Match List approach is valid, so I would focus on what IIQ is evaluating for ROLE_NAME. You can test it directly:
Bundle role = context.getObjectByName(Bundle.class, "BU-Developer-Role");
Identity identity = context.getObjectByName(Identity.class, "<test-identity-name>");
Matchmaker matchMaker = new Matchmaker(context);
boolean match = matchMaker.isMatch(role.getSelector(), identity);
If it returns false, I would verify:
The Link has ROLE_NAME = Developer exactly as expected.
ROLE_NAME is configured correctly in the account schema, including Entitlement/Multi-Valued flags where applicable.
Run Identity Refresh with Refresh Identity Entitlements for all links and Refresh assigned, detected roles and promote additional entitlements.
Since the Identity Attribute condition already works, I would troubleshoot the entitlement state before changing the role design.
@arkamath business role only get assigned. Underlying IT roles gets detected once the associated entitlements gets assigned. Have you checked what is the status of the IT role?
Hi, could you please share the Identity XML and Business Role XML for the affected user/role? This will help us review the configuration and identify the cause of the issue.
Check that identity’s xml. see My-Test-App link and chech the value of ROLE_NAME (Case sensitive issues, trailing spaces)
Check in Application Schema ROLE_NAME is marked as entitlement
Run Identity refresh with Refresh Identity Entitlements for all Links + Refresh assigned, detected roles and promote additional entitlements + Provision assignments options
Hi Santhi,
Thanks for your reply. Since identity.xml has all sensitive data, I cannot upload the entire file. If you are looking for a specific block, I can share it.
My configurations meets all the points you mentioned. There are no trialing spcaes, role_name shows up in entitlements list and have enabled Refresh assigned, detected roles and promote additional entitlements + Provision assignments options.
Strange thing is the Business role gets assigned if I use an “Identity Attribute” in the match list. I am using an attribute from an application in Match list. I have seen this working before for other applications. Not sure, what is so special about this app!