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

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

Adding a new state to a lifecycle

BenLoosli
23-Emerald II

Adding a new state to a lifecycle

When we set up our production system at Windchill 8, we built a state.rbinfo text file in the wtCustom folder structure, then used an ant command to build it into Windchill.

I am building a new system and need to add a new lifecycle state, Searching PTC.com comes up with CS223984 (which is basically useless) and CS422321, using enumCustomize utility to directly modify the StateRB.RB.ser file directly and then run the ant MakeJar command.

 

Which method is best for adding enumerations to the system? I know the rbinfo file method still works.

 

Windchill 11.0 m030 CPS08

ACCEPTED SOLUTION

Accepted Solutions

Ben,

Always best to do this thru Enumcustomize - prevents errors.

 

- Windchill shell as admin

- >enumcustomize, GUI launches

- browse to rb file

- edit, save

- run command

- see result in /wtCustom

- delete /tomcat/instances and /tasks/…/ contents

- start WC

- test: See state available from Lifecycle Admin

View solution in original post

2 REPLIES 2

Sorry, I miss understood the question wrong. Here the correct answer

open a shell: 

enumcustomize

navigate to the lifecycle: wt->lifecycle->StateRB.RB.ser

Add the states to all the languages

ant -f codebase/MakeJar.xml custUpdate

Restart Windchill

Ben,

Always best to do this thru Enumcustomize - prevents errors.

 

- Windchill shell as admin

- >enumcustomize, GUI launches

- browse to rb file

- edit, save

- run command

- see result in /wtCustom

- delete /tomcat/instances and /tasks/…/ contents

- start WC

- test: See state available from Lifecycle Admin

Announcements

Top Tags