Hullo every one,
I have created a simple process with two human tasks in the drools Guvnor shown in the attachment. I then created a java application to help me remotely call the tasks and run them however I am having challenges with finding tasks assigned to the particular users using the following line of code;
List<TaskSummary> tasks = ReqProcess.service.getTasksAssignedAsBusinessAdministrator("mary","en-UK");
In the console i have assigned mary the task of filling in a simple form in the task "Requisition" as in my process. I however get a null pointer exception whenever i run the application.
some one please try to help,
thanx in advance
most likely mary is not business admin so you should use getTasksAssignedAsPotentialOwner instead.