Is there a method that currently exists in the 3.1.1 API that will return only the process instance objects that exist for a specific process node id?
In the current API I can only find a method that will return all process instances for a given process definition. However I'm really not interested in every process instance for the entire process, rather I am interested in all process instances for a given node.
Also is there a way to determine a node's type at runtime? Currently I've resorted to checking if the node class equals a specific node type class. But it seems odd that I cannot inspect the node object itself to determine its base type (i.e is it a State, Decision, StartState, etc.).