I followed this article (jBPM executor for embedded applicatin in Eclipse ) to create an asynchronous task by implementing command interface.
Even after all the nodes get executed, the process stays in ACTIVE state forever.
How to programmatically change the state in the callback? The documentation for Command (Chapter 24. Concurrency and asynchronous execution ) says the implementation should not change any state.
Am using embedded engine version 6.5.0.Final
Retrieving data ...