I find on 8.4.1 that Rule-DataObject instances can get created when I go Add data type from Dev Studio's "Data Types" Explorer menu, then select Existing data type.
The behavior we've been accustomed to is that this merely adds a new entry to the "Cases & data" tab of the Application rule. However now it also creates a Rule-DataObject instance which appears to drive the list of Data Objects shown in App Studio.
Annoyingly, in 8.4.1, if you use the "Remove from application" action on the Data Type in Dev Studio, it leaves the Rule-DataObject instance untouched which means the Data Object still appears in App Studio.
I don't have a view on what its purpose is beyond serving the same effect to App Studio as the Application Rule's "Cases & data" tab does to Dev Studio.
Data objects have been added as part of the express methodology in App Studio (the 3 pillars). Both data types and case types are data objects and that allows us to start unifying and formalizing things like relationships. @pageb and @potlv would be able to provide more details
@snirm@pageb@potlv Hello - Please can you respond to above and provide some more details. It's really filling up rule count and I find no proper way to manage it. Even after deleting the data objects - the rule persists in the ruleset version.
Is there anyway to do clean up of this? There's no delete option on these rules.
Thanks , Nik
Posted: 2 months ago
Updated: 2 months ago
Posted: 18 Jan 2021 3:46 EST Updated: 18 Jan 2021 3:49 EST
Some more information about Data Object rules, which may help you in attending this issue.
Rule-DataObject instances can get created upon new data type creation or upon addition of exiting data type to application rule form. It can also get created upon saving the application rule form for all the existing data type associations.
As of 8.5, the usage of these rules are limited to AppStudio and does not impact the run time behavior of the application.
In Appstudio, it is used to handle life cycle of draft data objects and also to provide unified-view of draft and concrete data objects.
As it does not impact runtime behavior, user should not be worried about deleting these instances from rulesets. Currently, the explicit deletion can happen only through activity rule.