JBoss Community

Re: Alternate to the deprecated methods?

created by Maciej Swiderski in jBPM - View the full discussion

roxy1987 wrote:

 

Hi,

 

The following method/class are deprecated, what alternate method can be used for the same functionality?

 

1) taskClient.getTasksAssignedAsPotentialOwner (String userId, List<String> groupIds, String language, TaskClientHandler.TaskSummaryResponseHandler responseHandler) : Need to use this for retrieving group tasks.

one that is without groupIds and register UserGroupCallback that will retrieve user groups on demand when querying.

 

 

roxy1987 wrote:

 

2) commandBasedWSHumanTaskHandler.connect()

 

There are dedicated handlers based on the transport, for instance for HornetQ you'll find AsyncHornetQHTWorkItemHandler, all of these handlers should have connect method.

 

HTH

Reply to this message by going to Community

Start a new discussion in jBPM at Community