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

Adding a new state to a lifecycle

SOLVED
Sapphire I

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

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Adding a new state to a lifecycle

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

Re: Adding a new state to a lifecycle

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

Re: Adding a new state to a lifecycle

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

Announcements
LiveWorx Call For Papers Happening Now!