Guillermo L [
https://community.jboss.org/people/gmlopezdev] created the discussion
"Re: Is it possible to integrate CDI beans into script and service tasks within jBPM
5.4?"
To view the discussion, visit:
https://community.jboss.org/message/819739#819739
--------------------------------------------------------------
Thanks for your response Vladimir!
I've also found a thread from Esteban
https://community.jboss.org/thread/171972 here
and he does not recommend using script tasks.
I understand that under some scenarios a script task might be an option, however I'm
integrating jBPM within JEE 6 and my beans are CDI beans so I need to get references to
them through the container. As per what I have read so far, it appears that Task or
Service Task might be my alternatives since I can inject and bind the work item handlers
into the session however I'd like to know the difference between both (Task vs
ServiceTask).
Thanks again for sharing your experience!
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/819739#819739]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]