Hide Bypass Self Evaluation page property based on role — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Hide Bypass Self Evaluation page property based on role

edited Oct 28, 2024 8:23PM in Performance Management 2 comments

Summary:

I'm looking for expression to hide "Bypass Self Evaluation" page property based on roles.

I tried with below expressions but doesn't seem to be working.

$application.user.roles.toUpperCase().includes('**** HRBP I')

$application.user.roles.includes('**** HRBP I')

$application.user.roles[0].includes('**** HRBP I')

!($application.user.roles.includes('**** HRBP I'))

Content (please ensure you mask any confidential information):


Version (include the version you are using, if applicable):



Code Snippet (add any code snippets that support your topic, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!