New answers tagged

0

How about this... AND( ISPICKVAL(Type,"Customer"), ISCHANGED(Onboarding_Stages__c), ISPICKVAL(Onboarding_Stages__c,"On Going"), AND(OR( INCLUDES(AB_Testing__c, "Do not Know")) etc etc etc


1

Validation rule trigger when the result is true, so you essentially have to list off every possible value: ISPICKVAL(Type,"Customer") && ISPICKVAL(Stage__c,"On Going") && NOT(INCLUDES(Multi_Picklist, "Value 1")) && NOT(INCLUDES(Multi_Picklist, "Value 2")) && NOT(INCLUDES(Multi_Picklist, &...


0

TEXT(Type) = 'Customer' && ISCHANGED(Stages__c) && TEXT(Stages__c) = 'On Going' && NOT(INCLUDES(Multi_picklist, 'Do not Know'))


1

You are missing a WHERE filter for the records in the trigger context trigger myTrigger on Contact(after update) { for(Contact cont : [SELECT id, Account.My_Field__c FROM Contact WHERE Id IN :Trigger.newMap.keySet()]) { // this always returns null system.debug('account.my_field__c value: ' + ...


Top 50 recent answers are included