Hi Community, I need to control some attributes in the flow, but I have controlled them, except for a few cases.The first error is if EN_LANG attributes in WTPart are empty, it gives an error for null value.The second error is that SURFACE_M2 attributes are defined with com.ptc.core.meta.common.FloatingPoint type, but SURFACE_M2 attributes can receive values automatically from creo, and when this value is an integer (for example 1), it gives an error in getting the value.I tried to get the values of these attributes in the code below com.ptc.core.lwc.server.PersistableAdapter obj = new com.ptc.core.lwc.server.PersistableAdapter(part,null,java.util.Locale.getDefault(),new com.ptc.core.meta.common .UpdateOperationIdentifier());
obj.load("EN_LANG","SURFACE_M2"); EN_LANG=(java.lang.String) obj.get("EN_LANG"); SURFACE_M2=(com.ptc.core.meta.common.FloatingPoint) obj.get("SURFACE_M2");