HQL unexpected AST node: :
Sadly, you cannot do :order.inProduction
(or :foo.bar
in general). Reference.
When you use this:
:workstation.workflowProcess
You're defining a parameter, so you can't use that notation, but you must use a variable as:
:workstation
:workflowProcess
and so on