JBoss Community

Re: A question about rule task in jBPM5

created by dalgwen in jBPM - View the full discussion

I was replying to the post of dalgwen and Tom G regarding the org.drools.persistence.info.WorkItemInfo not being properly persisted.

 

Hello Maïté, unfortunately I didn't manage to resolve this error in a direct way.

Instead, I choosed to not use asynchronous work item completion : I now rely on external message to trigger the next step in the workflow.

 

My workitem launch the task in another thread, then complete itself, as the standard synchronous way.

The next step in the workflow is an "AND" gateway, waiting for an external message to be sent.

The other thread, when completed, launch the proper message.

And so the workflow goes on.

 

That's how I manage to use asynchronous task.

Reply to this message by going to Community

Start a new discussion in jBPM at Community