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 Wed, Jul 6, 2011 at 6:01 PM, Mark Proctor <[email protected]> wrote:
> 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
> > [email protected]
> > https://lists.jboss.org/mailman/listinfo/rules-users
>
>
> _______________________________________________
> rules-users mailing list
> [email protected]
> https://lists.jboss.org/mailman/listinfo/rules-users
>
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users