on 01-10-2023 02:07 PM
entitlement.getOwnerRank1().contains(user.username) eq true -- as it is from docs, doesn't work
role.getOwnerRank1().contains(user.username) eq true -- as it is from docs, doesn't work
(entitlement.entowners == null) or (entitlement.entowners.size() == 0 ) -- as it is from docs, doesn't work
entitlement.allowner.contains(requestedBy.username) -- got from forums also doesnt work
entitlement.getOwnerRank1().contains(user.username) -- doesn't work, got this from a forum thread
I tried on v2021 and below code works for me:
role.ownerRank1.contains(requestedby.username)
role.getOwnerRank1() however does not. Seems this method is not supported in v2021 as the workflow fails to create a request ID if this is used in Workflow. Saviynt should test this internally and update the documentation accordingly.
Its always better you link KB with forum link , as this will give more idea on debugging done over forum post