I am working on Spring Boot and drools.
In drools, I am using bpmn2 files and want to use Spring beans. I have tried different ways including:
- Setting Global and using it inside bpmn.
- Inserting variable inside ksession and getting kcontext.getVariable inside bpmn.
- injecting applicationContext inside session and using it in bpmn
But none of it has worked, Could you please help me with a working example for the same?
Regards,