JBoss Community

Re: jboss as 5 jbpm 5.1 persistence

created by Marie MM in jBPM - View the full discussion

Hi,

I should mention that we use tasks without Mina server (or other), calling taskSession directly, inspirated by this discussion

http://community.jboss.org/message/595321

Not sure if this is really related to transaction problem.

 

My workitem handler which works with tasks looks like this:

 

public void executeWorkItem(WorkItem workItem, WorkItemManager manager) {

        // create new task, get info from WF

 

        // get task details from workitem

        Task newTask = new Task();

        String taskName = (String) workItem.getParameter("TaskName");

 

        .....

 

        taskSession.addTask(newTask, taskParameters);

 

    }

 

 

What do you think?

Reply to this message by going to Community

Start a new discussion in jBPM at Community