Forum Stats

  • 3,769,598 Users
  • 2,252,990 Discussions
  • 7,875,115 Comments

Discussions

Field Validators are not working when updating from Postman tool

We have Field Validators and it should work based on roles. When updating Business Object from Postman tool it is not checking the roles and updating the column values.

def roleName1 = 'XXX';

if (adf.context.getSecurityContext()?.isUserInRole(roleName1) )

{

 return false

 }

 else

 {

  return true

 }

Tagged:

Answers