In specifying a "WHEN" condition statement, I don't seem to be able call a function directly from this declaration, as the generator seems to get confused
In the graphical editor:
%request.GetValue("MRN"))=123453
(%request.GetValue("MRN"))=123453)
In the DTL directly:
<when condition="(%request.GetValue("MRN"))=123453)">
<when condition="(%request.GetValue("MRN"))=123453)">
But they all fail at the same point, where the opening "(" of the method call completely confuses the generator, and these all throw the same error: