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
Chris LintonChris Linton 

Editing old lookup record using Process Builder when lookup value changes?

I've got a process set up in Process Builder that updates fields on custom object A when one of its child records from object B changes. My problem comes into play when B is re-parented to a different record of A. How can I both edit values on the previous A record as well as the new A record?

I know I can accomplish this through Apex, I'm wondering if it's possible to do through Process Builder?
NagendraNagendra (Salesforce Developers) 
Hi Chris,

Please refer to the below link for similar kind of issue.
https://developer.salesforce.com/forums/?id=906F0000000BHvJIAW

Please mark this as solved if it helps.

Best Regards,
Nagendra.P
Chris LintonChris Linton
Hi Nagendra, thanks for the reply.

Unfortunately that doesn't get to the core of my question. I know I can update a current parent record when the child is updated. What I'm asking about is also updating the previous parent record along with the current parent when the re-parenting event happens.
Rohit Shetty 6Rohit Shetty 6
Hi, I have a similar problem, did you ever find a solution for this ?