Check that some elements have to be created before calling CreateElements
CreateElements is called even when no elements have been detected. This makes the worker crash even though everything has been fine.
We need to add a check here to avoid calling this endpoint if children
is empty.
Example https://arkindex.teklia.com/process/ab707abc-e353-4995-bc17-9940671f3b54/0
Edited by Yoann Schneider