Which Database you are looking?H2?Could you say me the versions you are using.And also the schema names u verified.
I have gone through this.When all the other details are entered in to database,even Process Session Id hits the database but it remains null for all the process.Can you help me out with this???
Yes am using H2 .The version is HeidiSQL 18.104.22.16803 .Regarding schema everything is fine.
Even i face the same issue.It would be helpful if anybody would guide a possible solution.........
Thanks in advance,
I think u've not added event listener that will be responsible for persisting the history log on the session..
StatefulKnowledgeSession ksession = ...;
JPAWorkingMemoryDbLogger logger = new JPAWorkingMemoryDbLogger(ksession);
// invoke methods one your session here
logger.dispose();//Refer documentation for this code.
Check it out Once
Inspite of working out as u guided,Still i face the same issue.My database ProcessId is NULL and Process Session Id is 0.THe datas are not entering the Node Instance Log,Process Instance Log and Variable Instance Log.Kindly guide further..
Thanks and Regards,
Hey, can you provide some unit test showing your code and reproducing the issue.
You can check this test, for example:
which uses process instance logs.
Check that you have instance logs classes added in persistence.xml, like this: