The thing is, that it does not matter what value is set in the OperatorSelector for the parameter select_which
. This is, because the process contains the operator ParameterIteration
. This operator iterates over parameters which you can specify. To select the first operator in the first iteration and the second operator in the second operator, you have to specify this in the ParameterIteration
operator parameters. Hence, the process XML contains the lines
<parameter key="OperatorSelector.select_which" value="1,2"/>
which actually means exactly that the operator in the first iteration the value 1 is set for the parameter select_which
, in the second iteration the value 2 is used for that parameter. The value you manually specify for the parameter select_which
in the operator OperatorSelector
is simply overwritten in that process.
Hope that clarifies how it works!