How can I add "Deliverables" object to the Timewrap of the related "Account" #278
-
I have a question. My team would like to add the Deliverables object to track on the related Account's timeline. Is this even possible as "Deliverables" are not directly linked to Accounts, but it is linked to "Opportunity" which in turn is linked to "Account" |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The AppExchange package version of Time Warp doesn't support this use case. Traversing relationships to the grand child level creates some challenges to get a query to scale and be performant. Since in your case we would need to query for all opportunities related to the Account and then using that list of Opportunities use their Ids to then query for all deliverables that are related to any of the Opportunity Ids. Your best bet would be to take the code and add your use case onto it. Finding a generic way to do this for any Parent - Child - Grandchild relationship in a way that is fast and scales to any use case has eluded me. |
Beta Was this translation helpful? Give feedback.
The AppExchange package version of Time Warp doesn't support this use case. Traversing relationships to the grand child level creates some challenges to get a query to scale and be performant. Since in your case we would need to query for all opportunities related to the Account and then using that list of Opportunities use their Ids to then query for all deliverables that are related to any of the Opportunity Ids.
Your best bet would be to take the code and add your use case onto it. Finding a generic way to do this for any Parent - Child - Grandchild relationship in a way that is fast and scales to any use case has eluded me.