JBoss Community

Re: create a new query method in TaskService

created by Michael Wohlfart in jBPM - View the full discussion

not tested, but this should work:

 

  • you have to replace the <task-service /> tag in your jbpm.cfg.xml with something like
    <object name="taskService" class="your.TaskService">
      <field name="commandService" ><ref object="txRequiredCommandService"></field>
    <object />
  • your.TaskService extends org.jbpm.pvm.internal.svc.TaskServiceImpl and implements your custom method

Reply to this message by going to Community

Start a new discussion in jBPM at Community