0

I have picklist value on the account object yes/no. If the value of picklist in parent record is updated as yes then it should update child records with some message. Can anyone help how to approach it??

0

You can use the declarative approach in Salesforce and create a workflow rule. You can find read about them here.

A rough format for the workflow rule will be:

ISPICKVAL(YourObject.YourPickList , "Yes")

Then when the workflow evaluates to true you need to select the option of field update. Have a look here on how to define a field update.

Hope it helps

  • I have to display message in sameobject account child records based on the parent record – Salesforce Learner Jan 3 '15 at 12:56
  • I`m not sure what you are asking, are you referring to the related list on the account page? what sort of message? can you not create a field on the child object and then add the field as a column on the related list and that will be like a message. – Mihai Neagoe Jan 3 '15 at 12:59
  • I dont have any child object here...i am doing this on account object where – Salesforce Learner Jan 3 '15 at 13:01
  • i have parent and child records based on parent lookup – Salesforce Learner Jan 3 '15 at 13:02
  • 1
    ISPICKVAL(Object.Field, "Yes") would do the same thing. You don't need an IF statement if you need a true or false from ISPICKVAL. – sfdcfox Jan 3 '15 at 17:26
0

You should be able to create a cross object formula and conditionally display the message based on the value of the parent account.

Cross-object formulas are formulas that span two related objects and reference merge fields on those objects. Cross-object formulas can reference merge fields from a master (“parent”) object if an object is on the detail side of a master-detail relationship. You can reference fields from objects that are up to 10 relationships away. Cross-object formulas are available anywhere formulas are used except when creating default values.

0

Many ways of doing this without using the code. Depends if you want the contact OBJ to pull the value from the account, or the account to push the value to its child contacts.

You could use formula field on contact to pull the value. You could use process builder to push the value from account.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.