The update of the class definition of an object workflow is as follows:
-
The user creates an object in an authoring tool, for example named Object1.
-
The authoring tool updates Object1 with a class definition of ClassA.
-
The tool publishes Object1 into SmartPlant Foundation with a class definition of ClassA.
-
A SharedObject is created in SmartPlant Foundation to represent the tool object.
-
The user then updates the tool version of Object1 with a different class definition, ClassB.
-
The tool then re-publishes Object1 with a new class definition of ClassB into SmartPlant Foundation.
-
Upon publishing, the schema component determines that the classification of the object has changed and generates an UpdateClassInstruction.
-
SmartPlant Foundation loads the new version of Object1 and detects the UpdateClassInstruction.
-
SmartPlant Foundation updates the class definition of Object1 and updates the SharedObject with the new class definition, ClassB.