I'm trying to implement the new conditional branch algorithm in a model with the following statements:
if( @Udtræk_til_grøfter_OUTPUT > 0, true, false) if( @Udtræk_til_grøfter_OUTPUT <= 0, true, false)
The "branching" works fine, it runs either if they are true, however, it is not consistent with what I know is in the data I feed it with. So I'm suspecting the
@Udtræk_til_grøfter_OUTPUT variable doesn't contain what I thought it did. Come to think of it, it probably contains an array with rows? It is the output of an extract by expression algorithm:
What I want to do is get the number of rows in that extraction and match it against the above condition, but I'm not sure how to do that?