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);
...
pi.getVariable("var")
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/615512#615512]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]