The process id should in inside the ProcessInstanceInfo table. Before calling the task.getProcessInstanceId() take a look at the database to see if the process was persisted correctly.
task.getProcessInstanceId() take a look at the database to see if the process was persisted correctly.
Greetings.
Reply to this message by going to Community
Start a new discussion in jBPM at Community