04/13/2023 06:13 AM
Hi Team,
We have a requirement where we are submitting a request for entitlements then approval goes to entitlement owner. If no owner defined then it will go to Endpoint Owner. If no endpoint owner defined then pass approval to Manager + Manager approval.
Here the question is that how can we identify if Endpoint owner is present or not. We are able find for entitlement owner with expression-(entitlement.ownerRank1.size() == 0).
Please help me to get the condition which we can use to check if Endpoint Owner is present or not.
Thanks,
Amit Aware
04/13/2023 06:41 AM
Have you tried below by any chance?
endpoints.getOwnerRank1().size() eq 0
endpoints.ownerRank1 == null
endpoints.ownerRank1.size() == 0
if possible please share the things that you tried till now which didnt work in your case.
Thanks
04/13/2023 09:44 PM
Hi @dgandhi ,
I have tried below possible conditions which won't work-
endpoints.getOwnerRank1().size() eq 0
endpoints.ownerRank1 == null
endpoints.ownerRank1.size() == 0
endpoint.getOwnerRank1().size() eq 0
endpoint.ownerRank1 == null
endpoint.ownerRank1.size() == 0
endpoints.OwnerRank1 == null
endpoints.OwnerRank1.size() == 0
endpoint.OwnerRank1 == null
endpoint.OwnerRank1.size() == 0
Could you please help me out here.
Thanks,
Amit Aware
04/16/2023 10:47 PM
04/17/2023 02:20 AM
Hi @dgandhi ,
In addition to above we have tried below expressions too-
(endpoints.ResourceOwner.size() == 0)
(endpoints.Resourceowner.size() == 0)
(endpoints.resourceOwner.size() == 0)
(endpoints.resourceowner.size() == 0)
(endpoint.ResourceOwner.size() == 0)
(endpoint.Resourceowner.size() == 0)
(endpoint.resourceOwner.size() == 0)
(endpoint.resourceowner.size() == 0)
These are not working.
Thanks,
Amit Aware
04/18/2023 08:59 PM
Its not exposed in workflow . Workaround use dynamic attribute on request form and utilize same
Also raise idea ticket for enhancement