Forum Stats

  • 3,824,925 Users
  • 2,260,440 Discussions
  • 7,896,351 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