You subtract festivals by a list of inschrijven or the other way around. That's like subtracting appels from pears.
Not sure what you want to achieve, but this will never work😉
//Edit
As I understand you want to check if there are still spots left for a new reservation. First I assume that the user selects a festival. Thus we can use this festival as context of the process.
Your microflow should be like this
- Start with an input parameter > Object > Festival
- First activity > retrieve all reservations (Inschrijven) over association of that festival
If you don't have an association between the Inschrijven and Festival entity, you should create one.
- Add a 2nd activity > Aggregate > Count > returned list of 1st activity
- Add a decision > check Festival/maxAmount > ReturnedCountValue
- True continue with new registration (inschrijven)
- False Show a message to user and end microflow
Domain model
Microflow