[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
Marco
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/558560#558560]
Start a new discussion in jBPM at Community
[http://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/20100823/2e82bcf7/attachment.html
More information about the jboss-user
mailing list