Skip to main content
10-Marble
October 15, 2014
Question

How to Display Change Notice Attributes Enumeration Display Value instead of the Internal Enumeration Value in Workflow

  • October 15, 2014
  • 0 replies
  • 511 views

Hello.



I used Java Expression to pull Atrribute Values (Simple Example below shown)



com.ptc.core.lwc.server.PersistableAdapter obj = new
com.ptc.core.lwc.server.PersistableAdapter(primaryBusinessObject,null,null,
null);


obj.load("REASON_FOR_CHANGE");


REASON_FOR_CHANGE = (String)obj.get("REASON_FOR_CHANGE");



However the Value for the attribute Reason for Change shows the Enumeration Internal Value:
instead of the Display Value: