List list1 = new ArrayList();
List list2 = new ArrayList();
List list3 = new ArrayList();
StatelessKnowledgeSession ksession = getSession2( ResourceFactory.newByteArrayResource( str.getBytes() ) );
Command setGlobal1 = CommandFactory.newSetGlobal( "list1", list1 );
Command setGlobal2 = CommandFactory.newSetGlobal( "list2", list2, true );
Command setGlobal3 = CommandFactory.newSetGlobal( "list3", list3, "outList3" );
Command insert = CommandFactory.newInsert( stilton );
List cmds = new ArrayList();
cmds.add( setGlobal1 );
cmds.add( setGlobal2 );
cmds.add( setGlobal3 );