Get Long Attribute to int Attribute
I can get a string attribute from the Change Activity to the workflow. How do I convert a long attribute to an int attribute? Code for string is below where attribute is the attribute in the change activity and att1 is the attribute in the workflow.
com.ptc.core.lwc.server.PersistableAdapter obj = new com.ptc.core.lwc.server.PersistableAdapter(primaryBusinessObject,null,java.util.Locale.US,null);
obj.load("attribute");
att1 = (String) obj.get("attribute")

