cancel
Showing results for 
Search instead for 
Did you mean: 

use spring bean in scriptTask ?

mofaji
Champ in-the-making
Champ in-the-making
e~~~~
i definition some bean in spring application-context ,just like
<bean id="a" class="com.a.A" ></bean>


i find this way
config sping application-context  ProcessEngineConfiguration “beans” Property 。
en~~
how to use this bean "a"  in scriptTask

i hope can get me some demo  ,thank Smiley Wink
。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。
1 REPLY 1

jbarrez
Star Contributor
Star Contributor
just reference the bean in the expression or script… just write a.something() for example