A little confused because i am not seeing the repeat in there, so strange
From your first screenshot where you added the repeat, you have Database Query: urunler
Then a repeat called repeat1 which has the expression of urunler set to it
Then no set value step at all
Then Database Query: rezervasyonlar
So with this situation i would leave the urunler query as you have it but turn OUTPUT to off
leave the repeat as you have it bu make sure OUTPUT is set to on
change the condition on rezervasyonlar to urunid > not in > {{repeat1}}
This way you should not need the split at all, but when you click the lightening bolt on the rezervasyonlar query condition you should see the repeat
the secondary query where you have the condition, the problem is that the condition should be set to the output of the repeat not the output of a SetValue or the first query, the only way you could get the values from the set value step is if the set value step was also in the repeat step.
hmm I see, but surely that would work if you repeat all results from the first query and then add them all to the repeat so they all land up in an array, then on the second query it says only return results that are not in the first query.
I have to wonder if this would be better as an inner join rather with both tables in a single query and the inner join operator is set to not equal
i thought about this solution
doing a repeat and adding the values to a variable. then doing the second query but that is just too much for something surly simple
Can you try this, make a new server action, have your database connection step then have a database query step, no repeat step or setvalue
in the query add two tables, your events table first, then your urunler table second, a popup box will appear, leave alias blank and join type to inner join and you can choose on the left side the ID field, then an operator of NOT EQUAL then on the right you will have the second ID field from the urunler table, do not set any conditions at all, and see what that returns please