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

Force readonly on cells depending on user's group and a flag - Groovy

Received Response
72
Views
4
Comments
edited Apr 13, 2023 9:56AM in EPM Platform 4 comments

Summary:

Force readonly on cells depending on user's group

Content (required):

Hello,

Users found approvals complicated to use. So we are implementing a manuel worklfow in PBCS using a flag that can be 0/1 or 2.

We want to force readonly on forms depending on this flag and the group of the user who retrieves the form.

If the flag = 0: force readonly for all users

If the flag = 1: force readonly for users of group 1

If the flag = 2: force readonly for users of group 2

We tried to implement this via a groovy rule launched on form load

We managed to get the flag by using the DataGridDefinitionBuilder.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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