Thanks
I tried the following but the rules are not executing:
List<Command> cmds = new ArrayList<Command>();
cmds.add( CommandFactory.newStartProcess("test-ruleflow"));
Client client = initClient();
cmds.add(CommandFactory.newInsert(client));
final StatelessKnowledgeSession ksless = kbase.newStatelessKnowledgeSession();
ksless.execute(CommandFactory.newBatchExecution(cmds));
With the explicit stateful session, the test-ruleflow works fine. Any pointers is very much appreciated.
On 07/07/2011 01:55, Wishing Carebear wrote:
>
>
Yes, use the CommandFactory and build a batch execution adding the
StartProcessCommand.
Mark
> _______________________________________________
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users