Merge "Unit/SONAR/Checkstyle in ONAP-REST"
[policy/engine.git] / PolicyEngineAPI / Test / test.Config_BRMS_Raw_TestBrmsPolicy.1.txt
1 rule "B to C"
2       agenda-group "B to C"
3       auto-focus true       
4   when
5       State(name == "B", state == State.FINISHED )      
6       c : State(name == "C", state == State.NOTRUN )
7   then
8       System.out.println(c.getName() + " finished" );
9       c.setState( State.FINISHED );
10       kcontext.getKnowledgeRuntime().getAgenda().getAgendaGroup( "B to D" ).setFocus();
11 end