Jozef Chocholáček
2013-02-08 13:40:29 UTC
Jozef ChocholáÄek [https://community.jboss.org/people/jchocholacek] created the discussion
"Is it possible to use @Inject in ScriptTask or onEntry script of a HumanTask?"
To view the discussion, visit: https://community.jboss.org/message/796747#796747
--------------------------------------------------------------
Hello there,
I am embedding jBPM into the Magnolia CMS, and I need to "talk" to the CMS from within the process (e.g. send messages to users, or even modify the content). I could solve the need by creating an Util class with static methods, but as we use CDI whenever possible, the better option would be just to @Inject the CMS components.
Thanks.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/796747#796747]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
"Is it possible to use @Inject in ScriptTask or onEntry script of a HumanTask?"
To view the discussion, visit: https://community.jboss.org/message/796747#796747
--------------------------------------------------------------
Hello there,
I am embedding jBPM into the Magnolia CMS, and I need to "talk" to the CMS from within the process (e.g. send messages to users, or even modify the content). I could solve the need by creating an Util class with static methods, but as we use CDI whenever possible, the better option would be just to @Inject the CMS components.
Thanks.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/796747#796747]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]