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
Krish NKrish N 

Update child case status from parent status

Hello, I've a parent-child relationship for case object. When a new case is created, if the problem type is similar to that of already created case, the old case has to be used as a reference (parent) and the new case will be an associate case (child) of the old case. Once the reference is made, the child case will be locked from editing, the child case status has to be auto updated whenever the parent case status changes, the child case has to be set the same status as of parent until the parent case is closed, which obviously closes the child case. I've tried using Process builder but I'm getting errors. Is there any declarative approach to achieve the requriement. I don't want to use trigger.