In QGIS 3.10.2 I have created a process modeler file that takes inputs from 5 input layers and creates a new layer as an output. The output layer is needed by an external program and the processing modeler is to ensure it can be updated frequently.
At the end of the file I want to "select by expression" based on two attributes, and then apply the "Join by Location" function to the selection and another point layer. I tested it manually and it worked. I copied the same expression and used this in the Processing Modeler.
However when I run the processing model, I get different result. First I cant figure out how to restrict the Join to only the selected features - there is a tick box when doing this command manually. Secondly the Processing Model Join by Location doesnt seem to work correctly, giving different results than doing it manually.
My process model follows a linear pattern, where I have selected most of the layers.
The last two steps I want to "Select by Expression" firstly:
And then "Join by Location" on the Selection above
The results firstly dont return the "Selected" features, but also the Join doesnt seem to work as well as using the function manually.
I am not sure if I am doing something fundamentally wrong on this, but have tried many combinations and cant seem to get it function as if I were doing it manually.