Anderson, We do not yet provide this kind of functionality out-of-the-box. It would definitely make sense to extend the task service so you can query tasks using parameters like maxResults, firstResult and filterBy. This would, as Mauricio explained, require the addition of additional parameters in the TaskServiceSession.getTasksAssignedAsPotentialOwner method, and the associated name query TasksAssignedAsPotentialOwnerWithGroups.
Do you think you can assist us in adding this functionality? Simply check out from source, modify the task code as necessary, write a simple test and provide us with the patch? Thx, Kris Quoting Anderson vasconcelos <[email protected]>: > Hi Mauricio Salatino. > Analysing the code of Drools-Process-Task, i found > TaskServiceSession. In > this service , has the entitityManager , and he called the > TasksAssignedAsPotentialOwner. > > I just wanna to pass a parameter : > tasksAssignedAsPotentialOwner.setFirstResult(firstResult); > tasksAssignedAsPotentialOwner.setMaxResults(maxResult) > > To do this, the best way is override a lot of classes? > DroosProcessTask,Cannot provided this for me? > > Thanks > > > Message: 3 > Date: Thu, 29 Oct 2009 15:14:50 -0500 > From: Mauricio Salatino <[email protected]> > Subject: Re: [rules-users] [Droolsflow] Pagination of > getTasksAssignedAsPotentialOwn > er > To: Rules Users List <[email protected]> > Message-ID: > <[email protected]> > Content-Type: text/plain; charset="iso-8859-1" > > Yes.. also probably you need to extend the named query too.. > > 2009/10/29 Anderson vasconcelos <[email protected]> > > > HI > > > > It's possible to build a real pagination search using > > MinaTaskClient.getTasksAssignedAsPotentialOwner() (Using Limit and > Offset)? > > Must I Override the implementation of > BlockingTaskSummaryResponseHandler > or > > MinaTaskClient? > > > > Thanks > > > > _______________________________________________ > > rules-users mailing list > > [email protected] > > https://lists.jboss.org/mailman/listinfo/rules-users > > > > > Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm _______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
