[jboss-user] [jBPM] - Re: Is anyway to get the subprocessinstance id using the Mainprocess instance Id

Maciej Swiderski do-not-reply at jboss.com
Tue Oct 9 10:49:14 EDT 2012


Maciej Swiderski [https://community.jboss.org/people/swiderski.maciej] created the discussion

"Re: Is anyway to get the subprocessinstance id using the Mainprocess instance Id"

To view the discussion, visit: https://community.jboss.org/message/763928#763928

--------------------------------------------------------------
this was allready fixed on master (5.4.0) so meta data now have correct value for ParentProcessInstanceId. Moreover for 5.4. thehistory table was extended to keep this reference as well. Take a look  https://github.com/droolsjbpm/jbpm/blob/master/jbpm-bam/src/main/java/org/jbpm/process/audit/JPAProcessInstanceDbLog.java#L132 here for history log query method that can give you subprocess instance based on parent process instance id

HTH
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/763928#763928]

Start a new discussion in jBPM at Community
[https://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/20121009/a1849b32/attachment.html 


More information about the jboss-user mailing list