[rules-users] getStartTimestamp() and getEndTimestamp() give the same values ??!!

2012-02-24 Thread Hassan
Hello !

My problem is that the 2 methods getStartTimestamp() and getEndTimestamp() 
give me the same value 
I don't know why (the duration of any event is 0 !!)


Thank you very much :)

--
View this message in context: 
http://drools.46999.n3.nabble.com/getStartTimestamp-and-getEndTimestamp-give-the-same-values-tp3772788p3772788.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] getStartTimestamp() and getEndTimestamp() give the same values ??!!

2012-02-24 Thread Michael Anstis
IIRC (from the Drools Fusion user-guide) this represents a point in time
event.

I won't pretend to be a Fusion expert though, so please do wait for others
to comment too

On 24 February 2012 15:04, Hassan azbak...@gmail.com wrote:

 Hello !

 My problem is that the 2 methods getStartTimestamp() and getEndTimestamp()
 give me the same value
 I don't know why (the duration of any event is 0 !!)


 Thank you very much :)

 --
 View this message in context:
 http://drools.46999.n3.nabble.com/getStartTimestamp-and-getEndTimestamp-give-the-same-values-tp3772788p3772788.html
 Sent from the Drools: User forum mailing list archive at Nabble.com.
 ___
 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


Re: [rules-users] getStartTimestamp() and getEndTimestamp() give the same values ??!!

2012-02-24 Thread Hassan
Thank you very much !!

yess you are right, becouse my declaration of the event didn't montionne the
duration attribute so my event is a point in time event.


if we add @duration(attr3) and the attr3 takes a value  0 so the 2methodes
won't give the same value.


Thank you again :)

--
View this message in context: 
http://drools.46999.n3.nabble.com/getStartTimestamp-and-getEndTimestamp-give-the-same-values-tp3772788p3772918.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users