Odelya Holiday [
http://community.jboss.org/people/odelyaholiday] created the discussion
"TaskSummery processInstanceId is -1"
To view the discussion, visit:
http://community.jboss.org/message/583261#583261
--------------------------------------------------------------
I need to extract process variable in Java code (not in drools).
so I thought to extract is via TaskSummery of the client.
I get the list of tasks like this:
List<TaskSummary> tasks = taskClient.getTasksAssignedAsPotentialOwner(userName,
"en-UK", handler);
when I try to retrieve the process Id by:
task.getProcessInstanceId
it return -1.
1. Why is it -1?
2. How can I retrieve the processId otherwise?
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/583261#583261]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]