JBoss Community

Re: jBPM Console Server can't find WorkItem Handler Implementation

created by Ashutosh Kumar in jBPM - View the full discussion

In my application i have implemented a WI handler for all my DB integrations. This is working fine for in general but not in once case.

 

1. Lets say in my wid  i have sth as return type defined

 

"results" : [

     "DB_OPS" : new ObjectDataType("com.sample.Employee")

]

 

2. In my process i have defined vaiable employee as Object(com.sample.Employee)

 

3. In my WI handler class i have sth like

 

Map<String, Object> outputMap = new HashMap<String, Object>();

Employee employee = new Employee()
employee.setFirstName("Joe");

outputMap.put("DB_OPS" , (Object) employee);

manager.completeWorkItem(workItem.getId(), outputMap);

 

4. This is throwing error while setting value in bean ie doing operation employee.setFirstName("Joe");



5. Error :"APPLICATION ERROR: transaction still active in request with status 0"

 

 

 



Reply to this message by going to Community

Start a new discussion in jBPM at Community