Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X
I dont know if i am right, but i wanted to get new chooseable Lifecycle Statuses. So i created new OIR, but it doesnt work.
Solved! Go to Solution.
You need to use enumcustomize aplication from windchill shell
Article cs42231 describes how to do so.
PetrH
What do you need?
Add own Lifecycle state names because what you want is not in the list of states?
or New lifecycle template with different first Lifecycle state for a new object?
PetrH
thank you for your fast answer.
yes, i want to add own lifecycle state names, because we want to make more customization.
where can i do that?
You need to use enumcustomize aplication from windchill shell
Article cs42231 describes how to do so.
PetrH
Terminology super important on these things. This might clarify a bit.
- You are interested in assigning a specific lifecycle template to a certain object type (e.g. WTPart - possibly a sub type of WTPart).
- You have the lifecycle template already created and checked in and enabled.
- The OIR has to list the object type near the top like this:
<AttributeValues objType="wt.change2.WTPart">
- The OIR then has to specify the lifecycle template, some this like this:
<!-- set the lifecycle -->
....
<Arg>WTPart Life Cycle</Arg>
Important Note: As supplied all these are at Site Level (OIRs, Lifecycle templates, etc.). May admin's leave all at Site alone and make all new / changes at Org level. This is generally best practice. If this is done, one should create both the lifecycle template and OIR at Org level (possibly via Save As). Also, the lifecycle template and OIR should have different names from those at Site level to avoid confusion.