[jboss-user] [jBPM] - Re: From Task to TaskSummary

suprit chaudhary do-not-reply at jboss.com
Wed Sep 12 12:24:36 EDT 2012


suprit chaudhary [https://community.jboss.org/people/supritchaudhary] created the discussion

"Re: From Task to TaskSummary"

To view the discussion, visit: https://community.jboss.org/message/759250#759250

--------------------------------------------------------------
Sample Code:

/// filter for task status
List<Status> statusList = new ArrayList<Status>();
statusList.add(Status.Created);

TaskService taskClient = new SyncTaskServiceWrapper(new AsyncMinaTaskClient());
taskClient.connect();

List<TaskSummary> taskSummaryList = taskClient.getTasksOwned(processId, statusList, "");

Also ref:  https://github.com/droolsjbpm/jbpm/blob/master/jbpm-examples/src/main/java/org/jbpm/examples/humantask/HumanTaskExample.java https://github.com/droolsjbpm/jbpm/blob/master/jbpm-examples/src/main/java/org/jbpm/examples/humantask/HumanTaskExample.java
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/759250#759250]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120912/800f0fe8/attachment.html 


More information about the jboss-user mailing list