cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

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

BrianSullivan
9-Granite

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

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:

0 REPLIES 0
Top Tags