I have 3 BO
Document
DocumentDivision
Project
And references as follows:
Document ---- DocumentDivision (Owned by)
DocumentDivision ----- Project (Peer)
In Project BO I have attribute calculate based on related DocumentDivision objects.
When I delete Document (and DocumentDivision automatically) rules in Project are not evaluating so values in calculated attributes are obsolete.
Is this how it works in AwareIM?
I noticed that normally AwareIM evaluate rules in all related BO.
Rules triggering through the references BUG?
-
- Posts: 92
- Joined: Thu Jan 10, 2013 10:50 pm
If document is owned by documentdivision, documentdivision won't get deleted automatically when you delete document. It would be the other way round. Delete documentdivision and it will automatically delete document. So maybe everything is working correctly. It's just that you haven't deleted what you thought you had deleted.
Apologies if I have misunderstood you
Apologies if I have misunderstood you
Rocketman
V8.7 Developer Edition. Server 2016 Standard edition. MySql 5.5
V8.7 Developer Edition. Server 2016 Standard edition. MySql 5.5
-
- Posts: 92
- Joined: Thu Jan 10, 2013 10:50 pm
-
- Posts: 92
- Joined: Thu Jan 10, 2013 10:50 pm
Are you deleting Document from within a Project form (table of items?) or separately
IF from within a Project form You could try starting a process when the save button is clicked ("Buttons")
which will recalculate the referenced items on the fly
something like SUM DocumentDivision.attribute WHERE (DocumentDivision IN Project.DocumentDivision)
or possibly a rule in Projects like
IF Projects.DocumentDivision WAS CHANGED then ......
Difficult to advise without more detail
IF from within a Project form You could try starting a process when the save button is clicked ("Buttons")
which will recalculate the referenced items on the fly
something like SUM DocumentDivision.attribute WHERE (DocumentDivision IN Project.DocumentDivision)
or possibly a rule in Projects like
IF Projects.DocumentDivision WAS CHANGED then ......
Difficult to advise without more detail
Rocketman
V8.7 Developer Edition. Server 2016 Standard edition. MySql 5.5
V8.7 Developer Edition. Server 2016 Standard edition. MySql 5.5
-
- Posts: 92
- Joined: Thu Jan 10, 2013 10:50 pm
Document is deleting separately and the problem is that rule triggering does not work when parent-children reference exist between objects.
So,
I start deleting action here Document --- DocumentDivision (owned by Document) --<rules in Project are not triggering through this realation>-- Project (Peer)
So,
I start deleting action here Document --- DocumentDivision (owned by Document) --<rules in Project are not triggering through this realation>-- Project (Peer)