Maciej Swiderski [
http://community.jboss.org/people/swiderski.maciej] created the
discussion
"Re: Can JBPM Console be used for visibility into processes being initiated from a
different container"
To view the discussion, visit:
http://community.jboss.org/message/619938#619938
--------------------------------------------------------------
Looks like I went bit too far with my understanding of what you try to achieve ;)
Now I know what you really after - and I think a shared knowledge base and session is a
good choice for that. Now the question is how to make both shared?
I started to work a bit on JBoss services for jBPM and Task Service so that would probably
suit your needs too. What will it do is simple build a Knowledge Base based on
configuration and register it in JNDI so both applications and console could simple look
it up and use it. There will be possibility to define more than one knowledge base with
various sources (class path, file system, Guvnor). But that is still to come.
For now I would give it a try with small change to console code to make knowledge base and
session accessible from outside (for you application) or at least make the session id
accessible by the application so you could restore it, just not entirely sure if you can
have same session loaded twice?!
Another alternative (that does not require any development in jBPM code base) would be to
utilize REST interface of the console-server project. That way you will ensure that all of
the processes are executed in the same session.
Please treat this post more like a elaboration of possibilities... hopefully by
collaboration we could come up with a good solution.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/619938#619938]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]