ferry97 wrote:
> Hi,
> Is it possible to access drools object in drools function ?
> eg:
> function void doSomething(MyObject obj) {
> //do something first
> drools.insert(obj);
> }
>
> When trying to do this, drools object is not recognized.
> Is there other way ?
> Thanks
>
If you pass it as a parameter, yes.