In JBPM when a task gets complete, the next task is created as expected.
private TaskService client;
But I need to do some other operations (Custom functionality of my own) once the task is created and an entry is inserted in Task table. I am blind in getting know that when the new task creation is done as expected. Don't know when the new task is getting inserted into the Task table.
Is it possible to know the task creation is done successfully using any Status? I have checked using "task.getTaskData().getStatus();"
It returns "Ready/Reserved". But when checking Task table, there was no new task created that time. But Later it gets inserted.
I have tried 2 handlers (LocalHTWorkItemHandler & SyncWSHumanTaskHandler).
All i need is, need to know when the task created and inserted in Task table.