function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
ch ranjithch ranjith 

why we unable to update child object field by using worlflow on parent object?

Deepak Kumar ShyoranDeepak Kumar Shyoran
Because in Salesforce a a child Object decide which will be the Parent of a Child records and some times it's hard to decide that how many child Object does a Parent object have and whihc increase the complexity to update all associated child with a Parent Object as they may fire mutiple trigger and may consume lot of resouce and definalty decrese the performace.
Vijaya Kumar RegantiVijaya Kumar Reganti
Hi Ranjith,

Salesforce allows updating of the parent fields through a workflow on child object.

But the reverse is not possible.

this can be done through only a trigger.

Thanks,
Vijay
AshlekhAshlekh
Hi Ranjith,

Yes salesforce don't allow to update or there is not any option is provide to workflow which trigger to update child object record when parent reocrd is updated.

In simple way you cann't update child update by workflow on parent object. You can do this by trigger.

If you have a parent object and have child object and parent object having any rollup summary object then if you update any child object then prenent object also updated.