Hi. I'm trying to find an execution that's been suspended (due to an Asynchronous process) so that I can continue it with messageEventReceived. I'm trying to find the execution using ExecutionQuery.activityId() (which seems to work) or even .messageEventSubscriptionName() (also works) but when I filter it with .variableNameEquals(), Activiti can't seem to find it. I have an Order object with a property named "id" that I use .variablenameEquals("order.id", value), but that doesn't seem to work. i've taken to even putting a variable of type String called "orderId" in the process variables and even that doesn't work.
What's the right way to use this API?