[jboss-user] [jBPM] - Re: How to retrieve parameters after Process finish

Demian Calcaprina do-not-reply at jboss.com
Fri Jul 15 11:56:14 EDT 2011

Demian Calcaprina [http://community.jboss.org/people/calca] created the discussion

"Re: How to retrieve parameters after Process finish"

To view the discussion, visit: http://community.jboss.org/message/615512#615512

Are you using persistence? If so, I think the process is deleted from session, and you have to use the audit tables.
 http://docs.jboss.org/jbpm/v5.1/userguide/ch07.html#d0e2836 http://docs.jboss.org/jbpm/v5.1/userguide/ch07.html#d0e2836

If you are not using persistence, I think you could get the ProcessInstance instance before it finishes, and then get the variable:
WorkflowProcessInstance pi = (WorkflowProcessInstance)session.getProcessInstance(processInstanceId);

Reply to this message by going to Community

Start a new discussion in jBPM at Community

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

More information about the jboss-user mailing list