JBoss Community

Re: SyncWSHumanTaskHandler vs WSHumanTaskHandler

created by TC ONG in jBPM - View the full discussion

Hi Mauricio,

 

I am using jbpm 5.3.0 now. As SyncWSHumanTaskHandler is deprecated now, do you have code sample of using (Sync) LocalTaskService for HumanTask?

 

My previous code:

                    SyncWSHumanTaskHandler syncWSHumanTaskHandler = new SyncWSHumanTaskHandler(localTaskService, ks);

                    syncWSHumanTaskHandler.setLocal(true);

//                    syncWSHumanTaskHandler.setClient(localTaskService);

                    ks.getWorkItemManager().registerWorkItemHandler("Human Task", syncWSHumanTaskHandler);

Reply to this message by going to Community

Start a new discussion in jBPM at Community