My Oracle Support Banner

Can we make all fields read-only in a record/entity based on field value? (Doc ID 2631728.1)

Last updated on DECEMBER 22, 2020

Applies to:

Oracle Fusion Engagement Cloud Service - Version and later
Information in this document applies to any platform.


I have one custom fixed drop-down field, and i want to throw an an error if one specific attribute is selected, so i have put following script for same,

def Value = getAttribute('PSFSaleStages_c')

if (Value == '07 - Won')
  return true;
return false;

It does not show any validation error, please guide.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.