validation rule to trigger

Selected BB Action value cannot be changed. It is restricted. Please select another value." def FORBIDDEN_VALUES = [ 'MAV_DIR_BB_ACTION_1003', 'MAV_DIR_BB_ACTION_1000', 'MAV_DIR_BB_ACTION_1001', 'MAV_DIR_BB_ACTION_1002' ] def newBBActionValue = BBAction_c if ( FORBIDDEN_VALUES.contains(newBBActionValue) ) { // Set the custom error message. // If the condition is not met (change is allowed, or different user), the script completes silently. return false } // If the condition is not met (change is allowed, or different user), the script completes silently. return true

Comments

Popular posts from this blog

dev7 from eror

EPA

Unified Currency Report- Krithika