JBoss Community

External Service and interaction with severals WorkItemHandler

created by Jean-Jacques Borie in jBPM - View the full discussion

Hi all,

 

I created a process, with severals service tasks mapped to WorkItemHandler.

 

The first WorkItemHandler, is responsible to launch an external service with parameters.

This work item receive an instance of this service.

Several services with different process can run in parralele.

 

Once initialized, this service need to be used by the following WorkItemHandler.

They are going to  give order to this external service.

 

The last WorkItemHandler close the service.

 

What is the best way to make availlable this service to WorkItemHandler, variable ? global ? other way ?

 

Thanks

Jean-Jacques

Reply to this message by going to Community

Start a new discussion in jBPM at Community