Thanks Maciej.
By 'Command' do you mean the invocation: ksession.startProcess(<Process_Name>,<params>)? Can you pls refer me to a snippet which maybe helpful in figuring out this problem?
I noticed that in JBPM3 version, there was a way to save the session. A related post in that version: http://web.archiveorange.com/archive/v/AVypsdDazttvKCv1Kk9q
Is there a similar approach possible for JBPM5?