[rules-users] RuleFlow not Found

abhinay_agarwal abhinay_agarwal at infosys.com
Wed Jun 27 08:59:12 EDT 2012


hey salaboy,

in your examples Salaboy-Drools_jBPM5-Training-Examples-bee925b
(03-DroolsExpert-RuleAttributes), the following lines getting printed in
console for the RULE NUMBER SONGS :



/Thriller
ACTIVATION CREATED rule:Number Songs activationId:Number Songs [1]
declarations: $song=Song {id= null, name= 'Thriller', year= 1982, genre=
'POP', duration= '6540', artists= [Artist {id= null, name= 'Michael',
lastname= 'Jackson'}]}(1)
OBJECT ASSERTED value:Song {id= null, name= 'Thriller', year= 1982, genre=
'POP', duration= '6540', artists= [Artist {id= null, name= 'Michael',
lastname= 'Jackson'}]} factId: 1
Adagio
ACTIVATION CREATED rule:Number Songs activationId:Number Songs [2]
declarations: $song=Song {id= null, name= 'Adagio', year= 1708, genre=
'CLASSICAL', duration= '2561', artists= [Artist {id= null, name= 'Johann
Sebastian', lastname= 'Bach'}]}(2)
OBJECT ASSERTED value:Song {id= null, name= 'Adagio', year= 1708, genre=
'CLASSICAL', duration= '2561', artists= [Artist {id= null, name= 'Johann
Sebastian', lastname= 'Bach'}]} factId: 2
The final countdown
ACTIVATION CREATED rule:Number Songs activationId:Number Songs [3]
declarations: $song=Song {id= null, name= 'The final countdown', year= 1985,
genre= 'ROCK', duration= '300', artists= [Artist {id= null, name= 'Joey',
lastname= 'Tempest'}, Artist {id= null, name= 'John', lastname=
'Norum'}]}(3)
OBJECT ASSERTED value:Song {id= null, name= 'The final countdown', year=
1985, genre= 'ROCK', duration= '300', artists= [Artist {id= null, name=
'Joey', lastname= 'Tempest'}, Artist {id= null, name= 'John', lastname=
'Norum'}]} factId: 3
BEFORE ACTIVATION FIRED rule:Number Songs activationId:Number Songs [3]
declarations: $song=Song {id= null, name= 'The final countdown', year= 1985,
genre= 'ROCK', duration= '300', artists= [Artist {id= null, name= 'Joey',
lastname= 'Tempest'}, Artist {id= null, name= 'John', lastname=
'Norum'}]}(3)
OBJECT MODIFIED value:Song {id= null, name= '1_The final countdown', year=
1985, genre= 'ROCK', duration= '300', artists= [Artist {id= null, name=
'Joey', lastname= 'Tempest'}, Artist {id= null, name= 'John', lastname=
'Norum'}]} factId: 3
AFTER ACTIVATION FIRED rule:Number Songs activationId:Number Songs [3]
declarations: $song=Song {id= null, name= '1_The final countdown', year=
1985, genre= 'ROCK', duration= '300', artists= [Artist {id= null, name=
'Joey', lastname= 'Tempest'}, Artist {id= null, name= 'John', lastname=
'Norum'}]}(3)
BEFORE ACTIVATION FIRED rule:Number Songs activationId:Number Songs [2]
declarations: $song=Song {id= null, name= 'Adagio', year= 1708, genre=
'CLASSICAL', duration= '2561', artists= [Artist {id= null, name= 'Johann
Sebastian', lastname= 'Bach'}]}(2)
OBJECT MODIFIED value:Song {id= null, name= '2_Adagio', year= 1708, genre=
'CLASSICAL', duration= '2561', artists= [Artist {id= null, name= 'Johann
Sebastian', lastname= 'Bach'}]} factId: 2
AFTER ACTIVATION FIRED rule:Number Songs activationId:Number Songs [2]
declarations: $song=Song {id= null, name= '2_Adagio', year= 1708, genre=
'CLASSICAL', duration= '2561', artists= [Artist {id= null, name= 'Johann
Sebastian', lastname= 'Bach'}]}(2)
BEFORE ACTIVATION FIRED rule:Number Songs activationId:Number Songs [1]
declarations: $song=Song {id= null, name= 'Thriller', year= 1982, genre=
'POP', duration= '6540', artists= [Artist {id= null, name= 'Michael',
lastname= 'Jackson'}]}(1)
OBJECT MODIFIED value:Song {id= null, name= '3_Thriller', year= 1982, genre=
'POP', duration= '6540', artists= [Artist {id= null, name= 'Michael',
lastname= 'Jackson'}]} factId: 1
AFTER ACTIVATION FIRED rule:Number Songs activationId:Number Songs [1]
declarations: $song=Song {id= null, name= '3_Thriller', year= 1982, genre=
'POP', duration= '6540', artists= [Artist {id= null, name= 'Michael',
lastname= 'Jackson'}]}(1)
3_Thriller
2_Adagio
1_The final countdown
Thriller/


I cannot understand Why the ACTIVATION CREATED and OBJECTED ASSERTED lines
are getting printed...can you please explain it..


thanks,
Abhinay !

--
View this message in context: http://drools.46999.n3.nabble.com/RuleFlow-not-Found-tp4018251p4018284.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list