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
GoldiGoldi 

How to display fields from child object to the parent?

Hi all,

I need to get child details to the parent level in order to run process builder with the right criteria. 
There is an object Contract (Parent) which has a Child object Security (has a lookup on Contract).

Thanks
Shruti SShruti S
Could you please explain me the eaxct business requirement?
GoldiGoldi
Basically, process builder needs to generate separate tasks depending on the "Type" field under child object Security.
Shruti SShruti S
Well, in this case, shouldn't we be creating the Process on the Security object instead of the parent Contract ?
GoldiGoldi
Well the process actually is for the Case object which is related to the contract.
Shruti SShruti S
Oops! I am confused. Can you please tell me how the objects are related and how many objects are there in your question ?
GoldiGoldi
Case (Process Builder runs from) that has a lookup on Contract and Contract's child: Security (has a lookup on Contract)
Shruti SShruti S
Ouch. I dont think we can traverse relationships that far (2 level deep). I am thinking you will have to use Apex Triggers for this.