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
Get Started with Redwood for Oracle Cloud HCM   Begin Now

EL expression in VB studio

edited Oct 4, 2024 10:09PM in Visual Builder Studio for HCM 8 comments

Summary:

Hi Experts,

We need assistance in figuring out how to customize the below EL expressions in VB Studio.

1. EL expressions on Edit/ ADD button:


(#{backingBeanScope.DemographicInfoBean.editRendered[row]['Legislation;Ethnicity;Religion'] and ((backingBeanScope.DemographicInfoBean.isElevatedUser) && (securityContext.userInRole['SE_HR001,SE_HR002,SE_HR003,SE_HR004,SE_HR011,PER_HUMAN_RESOURCE_ANALYST_JOB,O_HRANALYST_VIEWALL_DATA'])) || ((!backingBeanScope.DemographicInfoBean.isElevatedUser) && (securityContext.userInRole['SE_ESS_001,SE_ESS_002,SE_ESS_003,SE_ESS_004,SE_ESS_006,SE_ESS_007']))}

2. There are restrictions on some fields, such as "Read Write" access should be enabled for HR, not for Employees.

#{((HcmFusePlusBean.userPersonId != bindings.PersonId.inputValue) && (securityContext.userInRole['SE_HR001,SE_HR002,SE_HR003,SE_HR004,SE_HR011,PER_HUMAN_RESOURCE_ANALYST_JOB,O_HRANALYST_VIEWALL_DATA,SE_HR00P2_AOR_LE_ORG_TREE_001_DATA'])) || ((HcmFusePlusBean.userPersonId == bindings.PersonId.inputValue) && (securityContext.userInRole['SE_ESS_006, SE_ESS_011']))}

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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