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: Oracle Cloud SCM and Purchasing

Groovy expression based on users

edited Nov 22, 2024 2:51AM in Purchasing 1 comment

Summary:

Hi, we have this expression trying to make a DFF conditionally read only based on certain users.

It seems not working, can you please advice how to correct it?

Thank you

Content (please ensure you mask any confidential information):

try { if(#{securityContext.userName} == "XXXX") { return true } else { return false } }

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!