cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot Find Execution to Continue

richip
Champ in-the-making
Champ in-the-making
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?
1 REPLY 1

trademak
Star Contributor
Star Contributor
You can't query on Java class variables like an Order object. Activiti can only query based on primitive values.
So the orderId example should work fine. Can you show full code examples of what you are trying to do?

Best regards,