I am curious on how to reference the current object with a keyword rather than a business object group or business object. Something like ThisObject or CurrentObject or wathever.
Is there a way to do this? Would make it easier in some situations to apply rules more generically.
Thanks.
Elmar
How to refer to current Object genericaly in rules
-
- Posts: 7525
- Joined: Sun Apr 24, 2005 12:36 am
- Contact:
Sorry, I try to clarify this.
BO´s have specific attributes and all that but there are a lot of things that applied to all BO´s.
So what I am looking for is a generic Keyword that simply points to the CURRENT OBJECT in which a rule is executed in.
Instead of writing <BusinessObjectName> or <Prefix><BusinessObjectName> I would like to refer to the current Object in a generic way so that I can use that rule everywhere I want without having to change the BO or BO Group name.
Sample:
IF <someCondition> Then
PROTECT CURRENT_OBJECT FROM ALL EXCEPT Administrator AND System
BO´s have specific attributes and all that but there are a lot of things that applied to all BO´s.
So what I am looking for is a generic Keyword that simply points to the CURRENT OBJECT in which a rule is executed in.
Instead of writing <BusinessObjectName> or <Prefix><BusinessObjectName> I would like to refer to the current Object in a generic way so that I can use that rule everywhere I want without having to change the BO or BO Group name.
Sample:
IF <someCondition> Then
PROTECT CURRENT_OBJECT FROM ALL EXCEPT Administrator AND System
-
- Posts: 7525
- Joined: Sun Apr 24, 2005 12:36 am
- Contact:
-
- Posts: 7525
- Joined: Sun Apr 24, 2005 12:36 am
- Contact: