[jboss-user] [jBPM] - Extending jBPM 4 history service

Marco Baroetto do-not-reply at jboss.com
Mon Aug 23 07:05:22 EDT 2010

Marco Baroetto [http://community.jboss.org/people/H4rLoCk] replied to the discussion

"Extending jBPM 4 history service"

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

Ok, now I am able to extend the HistorySession and I can intercept ProcessInstanceCreate (or whatever..).
Does anyone knows how can I access to the object tied to the event in the HistorySession?

i.e. Here I would like to log the process instance id...

public class TestHistSession implements HistorySession {
    public void process(final HistoryEvent historyEvent) {
        if (historyEvent instanceof ProcessInstanceCreate) {
            final ProcessInstanceCreate p = (ProcessInstanceCreate) historyEvent;
            // TODO what can I do here???

thank you



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/20100823/2e82bcf7/attachment.html 

More information about the jboss-user mailing list