[jboss-user] [jBPM] - Is it possible to use @Inject in ScriptTask or onEntry script of a HumanTask?

Jozef Chocholáček do-not-reply at jboss.com
Fri Feb 8 08:40:29 EST 2013


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]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130208/88ff8e31/attachment.html 


More information about the jboss-user mailing list