Thanks Kris, That seems like the solution I was looking for...
I'll try persisting my session ID in my Claims domain object, and walking the node instances first. If that doesn't work, I'll try create a custom log object to track processes. Either way, this thread has been a huge help. Bill ----- Original Message ---- From: Kris Verlaenen <[email protected]> To: Bill Tarr <[email protected]> Sent: Sat, October 24, 2009 7:47:30 PM Subject: Re: [rules-users] [droolsflow] JPAKnowledgeService - how do you reload a Session with Processes? Quoting Bill Tarr <[email protected]>: > However, I don't see any methods in either StatefulKnowledgeSession > or ProcessInstance that would enable me to gather up SubProcess node > instances. > > Could you point me in the right direction on how I could do this? > Yes, cast the process instance to a WorkflowProcessInstance, that way you can use getNodeInstances() to get all active nodes. You'll then probably have to use instanceof SubProcessNodeInstance to only filter out sub-process nodes, and then use getProcessInstanceId() to retrieve the id of the sub process instance. Kris Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm _______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
