We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
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

Field Validators are not working when updating from Postman tool

Received Response
31
Views
2
Comments

Summary:

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.

Content (required):

def roleName1 = '****';

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

{

 return false

 }

 else

 {

  return true

 }

Version (include the version you are using, if applicable):

Version: 21.10.1

Build Number: 6a7e4acc8b4e0a5aedcf8ff552506ca3367fb88d (2021-09-07 20:01:20)

Code Snippet (add any code snippets that support your topic, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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