Hi there.
As a newbie to AwareIM I have some -probably easy- questions.
1.) I have some BO´s grouped in in BO Groups. AwareIM offers my to apply rules that I create for one BO to other BO´s within this group. My question is how to refer to the rules owning BO without hardcoding it´s name? That way I could really use the rules on the other BO´s in this group.
2.) I have an object of type Appoinment that potentially contains child objects. These objects each carry a duration attribute. The sum of these objects plus the starttime of the container Appointment object should result in the Appointment endtime.
To accomplish this I figured out that I need to implement the recalculation rule in the child object each time an object instance is created or changed
I figured ot that it could be something like this (Exercise is the parent container & and Activity is the child object):
If Activity IS NEW OR Activity WAS CHANGED Then
FIND Activity WHERE Exercise = ThisExercise
ThisExercise.EndTime = ThisExercise.StartTime + Activity.Duration
But I don´t know how to reference the parent BO correctly from within the rule of the child object... and if this is the right way to do it anyway
😃.
Thanks for reading.
Elmar