Forum Stats

  • 3,874,546 Users
  • 2,266,752 Discussions
  • 7,911,885 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