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

Make fields read-only by JOB (Get Job Name with Groovy Script)

edited May 25, 2020 4:41PM in Enterprise Contracts 7 comments

Summary

How get JOB Name on Groovy Script to make some fields read-only

Content

Hi,

We're working on Enterprise Contracts and we want to implement a rule that only the USERs that has a specific JOB can edit some fields.

I'm trying do this on Groovy Scripts by Application Composer.

I've tried using some options using "adf.context.getSecurityContext()?.getUserProfile()?.****", but no success! I could see some options by ROLE, but we need use the JOB at the moment.

Someone can you help on it?

Thanks,
Junio Vitor

Version

20A

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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