What is the application order of rules in generator templates?
|Answered by Sascha Lißon|
When you are mapping an input node to an output node, you have to provide the input node to query the output node using a label, even if there is only one possible output node. That means, you have to use get output by label and input instead of get output by label.
In your example write
genContext.get output NewB for (genContext.inputModel.roots(A).first);