You need to sign in to do that
Don't have an account?

How to set boolean field depending upon the values of another field in same object
Hi
I need to set boolean field depending upon the values of another field in same object. So for example - If X.name = 'XYZ' then set the boolean field to True otherwise it is false. What is the best approach to tackle this issue ?
Thanks
RSF
I need to set boolean field depending upon the values of another field in same object. So for example - If X.name = 'XYZ' then set the boolean field to True otherwise it is false. What is the best approach to tackle this issue ?
Thanks
RSF
IF(Name='XYZ',true,false)
You can also create a formula field on the same object whose return type is a checkbox,this example is to help you in case of multi select picklist where there is a object called position__c and this checkbox will be true if the position that are selected are for manager rank.
What if I have multiple values meaning either Name = XYZ or ABC then do true. what would be the syntax. Thanks for response as well to Ajay.
Here you go...
IF(OR(Name='XYZ',Name='ABC'),true,false)
Please mark it as best answer, if it helps, to make community cleaner.