Is it right that you want any/all Organisms belonging to a Contact to be added to the existing list of Organisms connected to the Task, when the Contact is added to the Task?
What should happen if a Contact is disconnected from a Task?
What should happen if an Organism is disconnected from a Contact while the Contact is linked to a Task?
Is it right that you want any/all Organisms belonging to a Contact to be added to the existing list of Organisms connected to the Task, when the Contact is added to the Task?
Correct
What should happen if a Contact is disconnected from a Task?
The organisms linked to the task should be updated. In fact, I wanted to “recalculate” the Organisms field each time the Contacts field of a task is updated.
What should happen if an Organism is disconnected from a Contact while the Contact is linked to a Task?
The way I designed the application, that cannot happen.
How could I not think about Lookup!!!
Sorry Chris. It was a stupid question. Thanks a lot.
By the way, maybe another stupid question: How do you merge (the union you talk about) two collections of the same type (e.g. two collections of organisms)?
I’ve just investigated, and I think my original suggestion needs modifying, sorry.
you will actually need a lookup field in Organisms to find the Task from the Contact (called say ‘Contact Task’)
you will probably need a many-to-many relation between Tasks and Organisms called something like ‘All Organisms’ (because actually an organism could theoretically be linked to one Task directly and then linked indirectly via a Contact to a different Task)
Then based on your original request, you need two automations (to run when Contacts are linked/unlinked to/from the Task).