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

EL Expression in Sandbox for Multiple Roles

Accepted answer
302
Views
3
Comments

Summary:

What should be the working EL Expression for two or more roles?

Content (required):

Hi,

I'm checking on the correct EL Expression that works for two or more roles.

We tried below expression to hide the 'Complete Button' in Billing work area of Accounts Receivables, but seems not working.

#{securityContext.userInRole[‘ROLE_1'] or securityContext.userInRole[‘ROLE_1’]}

#{securityContext.userInRole[‘ROLE_1,ROLE_2,ROLE_3’]}

Kindly help to suggest.

Thank you in advance.

Miles

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

23A

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!