Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
Hi,
Windchill 11.2 may not be recognizing internal value of lifecycle state when internal key is using special character like '&'. Here is the entry from custom StateRB info file.
PUBLISHED_R&D.value=Published R&D
Set State operation throws an error.
wt.util.WTInvalidParameterException: No EnumeratedType exists with "wt.lifecycle.State.PUBLISHED_R&D" as its internal value. Nested exception is: java.lang.reflect.InvocationTargetException
Trying to figure out whether usage of special character is not supported anymore in rb info file?
Why not use an internal value without special character ?
PUBLISHED_RD.value=Published R&D
This won't impact the users.
Thanks. This state value is been used for several years. First time seeing hurdle.
Yes. We are looking an option to replace the internal key or new value. Just want to make sure special character is our problem or something else.
You can try to escape the character
PUBLISHED_R\&D.value=Published R&D
or substitute with its unicode "\u0026"
PUBLISHED_R\u0026D.value=Published R&D
Just ideas, I didn't try.