I've got an autolaunched flow which run whenever a Custom object adoption
is created. The flow then links the adoption
to a school
, first by searching for one, and creating one if it doesn't already exist.
This works fine when doing one at a time, but when I upload a list of adoptions
all at the same school
I am getting a duplicate error. When the second adoption
goes through the flow, it does a lookup for the school, but finds nothing, so it tries to create a duplicate.
It seems like when doing an insert in bulk all the records that are created from a flow are created at once at the end. Is there any way to get around this that still uses visual flow?