Kris Verlaenen [http://community.jboss.org/people/KrisVerlaenen] created the 
discussion

"Re: using spring beans in jbpm5"

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

--------------------------------------------------------------
Using service tasks you can plug in any implementation you want, as long as 
there is a way to invoke it from Java.
The idea would be to create a domain-specific node that would invoke your 
spring beans:
 - define what parameters you want the user to define in the process
 - write and register a handler that invokes your spring bean based on the 
values provided by the process instance

 
https://hudson.jboss.org/hudson/job/jBPM5/lastSuccessfulBuild/artifact/target/jbpm-5.0-SNAPSHOT-docs-build/jbpm-docs/html/ch06.html
 
https://hudson.jboss.org/hudson/job/jBPM5/lastSuccessfulBuild/artifact/target/jbpm-5.0-SNAPSHOT-docs-build/jbpm-docs/html/ch06.html

If you want, I could assist you in writing something like this, so we can add 
this to the list of domain-specific service nodes we support out-of-the-box?

Regarding process variables, they are stored as part of the process instance 
state (inside the binary state of the process instance).  Pluggable variable 
persistence can allow you to change this though.  What are you trying to 
achieve?

Kris
--------------------------------------------------------------

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

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to