JBoss Community

Re: how to use "work item" in jbpm-web-console?

created by victor ma in jBPM - View the full discussion

sorry ...

i want to use the service task in the jbpm-web-console, and i create a handler like this:

 

public class MyWorkItemHandler implements WorkItemHandler {

 

    @Override

    public void abortWorkItem(WorkItem arg0, WorkItemManager arg1) {

        System.out.println("God Like in abort!");

       

    }

 

    @Override

    public void executeWorkItem(WorkItem arg0, WorkItemManager arg1) {

        System.out.println("God Like in execute for reporttodf!");

       

    }

 

}

 

but how to make it works? thanks a lot!

Reply to this message by going to Community

Start a new discussion in jBPM at Community