JBoss Community

How to get the inserted TASK id

created by kiruba garan in jBPM - View the full discussion

Hi,

 

Im starting the process using ksession.startProcess it is starting fine no issues at the time of starting it is inserting one task in task table(i have one human task in my process) How to get the inserted task id

 

ksession.startProcess("com.sample.bpmn.multilooptest",params);

 

 

After this line how can i get the response taskid

 

directly if i use  addTask method im getting the response but the process is not starting

public static addTask(){

 

}

 

 

Regards,

 

Kiru

 

 

Reply to this message by going to Community

Start a new discussion in jBPM at Community