From the jBPM developer guide, I have understood that we can interact with the rule engine in a stateless manner (where only objects are inserted as facts) and a statefull manner (where objects and process instances are inserted as facts). My questions are
1) If you create a process model in the KIEWorkbench, containing a business rule task and you do the input and output mapping, then is this a stateless interaction with the rule engine?
2) How to interact with the rule engine from the KIEWorkbench in a stateful manner? I think we can use the script task to insert process instances, but how do you fire the rules? Do we use a business rule task after the script task to fire the rules? And then there is no need of event listeners?