You would think the process definition would need to define the variables and the code would need to set the variable values:
So I can't figure out when and/or where orderId is being set that allows the above query to work.
This query takes place in the ShowOrdersAction bean. I don't see the table LongInstance in the data model for jBPM:
Has anyone had any success in piecing this together?
Is this a case where I need to read the docs again or has no one encountered how this works?