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
krhkrh 

Field update from child to parent in lookup relationship

Hi Experts,

I want to update parent case when child case is updated, we have standard lookup relationship with case(ParentCase).
Can anyone please help me to update parent.

Thanks in Advance,
hema
NagendraNagendra (Salesforce Developers) 
Hi,

You can do this via Process Builder without writing any code.

Create Process On Case Object.

1) Start the process when Case is Created OR Edited
2) Add the criteria in the Node (The Child Case Status Criteria)
3) Also, make sure that you have added the condition to process only those cases who have Parent Case.

Refer Image for your reference.
User-added imageImmediate Actions:- Update Records
For "Select a Record to Update" Select "Select a record related to the Case" and then Select "Parent Case Id"
User-added imageUser-added image

Hope this helps.

Kindly mark this as solved if the reply was helpful.

Thanks,
Nagendra
 
krhkrh
Hi Nagendra,
I have implemented process builder as same as you suggested but its not working, since the field I'm using workflow to update field and that field is using in process builder to update parent.
custom field A(child)->updating using WF
Custom field B(Parent)-> custom field A using process builder
Can you pls suggest me how to use parent.
Thanks