JBoss Community

Is it possible to use @Inject in ScriptTask or onEntry script of a HumanTask?

created by Jozef Chocholáček in jBPM - View the full discussion

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

Start a new discussion in jBPM at Community