Hi!
I am testing my app in last versions of awareim 5.1a(cuurent on server), 5.2, 5.3, 5.5.
I am not saying about 5.5 because I see a lot of problems with my app there.
But since ver 5.2 one rule works different than in ver 5.1a in the same conditions. Is there an obvious reason for that?
The whole rule is:
Evaluating rule 'CreateEtap' If Appointment WAS ADDED TO Order_Information.Appointments AND AddedAppointment.Etapp IS UNDEFINED AND NOT(EXISTS Appointment WHERE (Appointment.Etap=AddedAppointment.Etap AND Appointment IN Order_Information.Appointments)) Then CREATE Etap WITH Etap.Etap=AddedAppointment.Etap,Etap.Appointments=AddedAppointment
This Rule attached to Order_Information BO.
The part that works different is:
Evaluating condition NOT (EXISTS Appointment WHERE (Appointment.Etap=AddedAppointment.Etap AND Appointment IN Order_Information.Appointments))
In 5.1a
Condition evaluated to true:
Since 5.2
Condition evaluated to false:
This issue make whole application impossible to work because order cannot proceed further without Etap BO created.