Click HERE to see how Saviynt Intelligence is transforming the industry. |
05/30/2022 01:27 AM
Thanks,
Sachin Jain
Solved! Go to Solution.
05/30/2022 09:53 AM
Hi Sachin
We encountered somewhat similar error when we were are trying to check if the requested enterprise role by the user is having an owner or not in the Workflow IF ELSE Condition block. If the condition satisfies we want to route the request to Role Owner. If False we want to route the request to some other team.
Error:javax.el.PropertyNotFoundException: Cannot resolve identifier 'Role_Owners'
javax.el.PropertyNotFoundException: Cannot resolve identifier 'role'
We opened a ticket and were provided the following action plan.Please check if it helps.
Thanks
Shyam
05/30/2022 10:39 AM
Try role object instead of entitlement
05/31/2022 10:40 PM
Role object seems not to be working :
05/31/2022 10:45 PM
Yes, we are also getting same error -
05/31/2022 11:44 PM
Hello,
Please use entitlement as object for Role in workflow.
05/31/2022 11:48 PM
Hi Sahaj,
entitlement as a object works till getOwnerRank5(), no such method error after that.
Version 5.5 SP 3.11
Thanks,
Sachin Jain
06/01/2022 01:49 AM
Hello,
For your use case, could you try the below condition in the IF-ELSE block :
(!entitlement.getOwnerRank1().contains(user.username) and !entitlement.getOwnerRank2().contains(user.username) and !entitlement.getOwnerRank3().contains(user.username) and !entitlement.getOwnerRank4().contains(user.username) and !entitlement.getOwnerRank5().contains(user.username) and entitlement.allowner.contains(user.username))
This will check if the requestee is not a part of the owner rank 1-5 but is still a part of the all owner list. Accordingly you can reroute the worklow.
06/01/2022 02:24 AM
Hi Sahaj,
Thanks a lot!!
This seems to be working, I will test further and let you know if there are any issues.
Regards,
Sachin Jain
06/02/2022 06:00 AM
Hi Sahaj,
Is there any method to check Primary and Secondary Certifier other than getOwnerRank26() and getOwnerRank27() ?
Thanks,
Sachin Jain
06/07/2022 01:01 AM
Hello,
Primary and Secondary Certifier should be used for Certification related use cases. For other processes, please use the Ranks. You should be able to add the same user as Ranked and Primary/Secondary Certifier for the same object. Example below : Role