Modifying Payroll EL Expression to limit by Security 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

Modifying Payroll EL Expression to limit by Security Role

Summary:

Modifying Payroll EL Expression to limit by Security Role

Content (please ensure you mask any confidential information):

I am wanting to modify the default EL Expression below to also include limiting it by a distinct security role.

Default Expression:

#{((Profile.values.PAY_PAYROLL_ADMIN_RESPONSIVE_ENABLED ne 'Y') or (Profile.values.PAY_PAYROLL_ADMIN_RESPONSIVE_ENABLED eq null))}

Modified Expression: (This is where I have something wrong)

#{(((Profile.values.PAY_PAYROLL_ADMIN_RESPONSIVE_ENABLEDne'Y') or (Profile.values.PAY_PAYROLL_ADMIN_RESPONSIVE_ENABLED eq null)) and (securityContext.userInRole['CN_PAYROLL_ADMINISTRATOR_VIEW_ALL_DATA']))}

I am getting an error. Are we unable to restrict Redwood options by security role?

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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