I had a requirement where Managers can see their reporting users and who should not have matrix AD account, so created below scope and rule but i still sett matrix users ,can someone suggest on this. Rule:String launcher = requester.getName();
Hello Saipriya. The issue is the negative filter on the multi-valued links relationship. I would exclude identities that have a Matrix account at the identity level using a subquery
Since the test user is a regular manager and the rule is returning all identities, I would look at the Dynamic Scope configuration next.
Could you share the full Dynamic Scope XML, particularly the PopulationRequestAuthority section? The one above looks incomplete. It would help to confirm the Identity Filter Generator rule is configured under “Who can members request for?”, and to check whether the requester matches any other Dynamic Scope granting broader authority.
@lsaipriya26 This is not a complete xml, could you please do a word wrap and share? we wanted to see the complete xml to figure out if it is configured properly or not.
I have now word wrapped the code in Notepad++ and shared it here by copy pasting. Is it readable now? or what are the other ways apart from attaching ?
Hello Saipriya. I would add @bohorapujan’s missing import first
import sailpoint.object.Link;
Then isolate one piece at a time. Test with only manager and manager.manager and confirm that scopes correctly. Once it does, add the Matrix subquery back and test again. The subquery structure looks correct for excluding identities that hold a Matrix Link.
Add newManager last, and confirm it is configured as Attribute Type Identity and Searchable, not a searchable String. Since the filter uses newManager.name and newManager.manager.name, it needs to resolve as an Identity relationship.
If each piece works on its own but the QuickLink still shows everyone, I would then check whether the requester matches another Dynamic Scope associated with the same QuickLink with broader request authority.
Thanks above issue is resolved by adding import. One another scope issue, I had a quicklink which is not opening at all and nothing seeing in logs to verify but changing to different scope (Everyone) it is working. Below is the Quick link , scope and rule XMLS. can you help me to check on <QuickLink action="workflow" category="Access" created="1786531962068" id="0a0a00699f761fb6819ff59a5cd42834" messageKey="RSL AD Account Delete Workflow" modified="1786532141800" name="RSL AD Account Delete Workflow" ordering="5" significantModified="1786532141800"> <Attributes> <Map> <entry key="launcher"> <value> <Script> <Source> return currentUser.getName(); </Source> </Script> </value> </entry> <entry key="workflowName" value="RSL AD Account Delete Workflow"/> </Map> </Attributes> <QuickLinkOptions allowOther="true" created="1787747536206" id="0a0a0069a01b143981a03e0e8d4e4e86"> <DynamicScopeRef> <Reference class="sailpoint.object.DynamicScope" id="0a0a0069a01b143981a03e0781a44e73" name="DeleteAdScope"/> </DynamicScopeRef> </QuickLinkOptions> </QuickLink>