Skip to main content
When you sync with multiple objects that have a relation, e.g. parent-child relationship, make sure to sync the parent records first. When syncing the child objects, you will need to know the id of their parent in the target. This can be done by doing a lookup in the link table of the parent record. Example link tables for Projects (parents) and Tasks (children): Table link_table_projects Table link_table_tasks Pseudo-code to sync child objects, linked to a parent:
Here’s the pseudo code in a bit more detail for records of type “Task” that are linked to a parent “Project”: