[jboss-user] [jBPM] - TaskSummery processInstanceId is -1
Odelya Holiday
do-not-reply at jboss.com
Wed Jan 26 06:22:40 EST 2011
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&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110126/8f9f2af9/attachment.html
More information about the jboss-user
mailing list