How to fetch cross model fields into a model, if the models are child to common parent object?

edited March 13, 2020 in Questions
The Object relationships in salesforce of my concerned models can be explained as: Object A is the parent to objects B and C both. Is it possible to fetch fields from object C to the SKUID model of object B?

Could I get some help with the same?

Thanks and Regards,
Sejal. :)

Comments

  • Zach McElrathZach McElrath Principal Software Engineer Chattanooga, TN 💎💎💎
    edited March 13, 2020
    Hi Sejal, the best way to achieve this would be to create a separate Model (let's call it "Model C") to fetch fields from Object C, and use a "Field from another Model" Condition such that only records are retrieved for which Parent = Object A, which can be done by having the Field from another Model Condition use Model B as its source model and the lookup / master-detail field to Object A as its source field.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!