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

new state not available in life cycle template

rvanveerdeghem
Regular Member

new state not available in life cycle template

Hi everyone,

I created a new state in windchill trough Windchill Shell : enumCustomize.

I can find this new state in the advanced search.

state.png

But I can't find this in the list within the life cycle template administration.

Does somebody know what I did wrong?

Thanks in advance

12 REPLIES 12

Re: new state not available in life cycle template

Open Windchill shell and execute command: ant -f codebase\Makejar.xml

Re: new state not available in life cycle template

Thanks Sergey, but I already did this:

  1. Stop the Method Server
  2. Rebuild the client jars from Windchill Shell : ant -f codebase\MakeJar.xml custUpdate
  3. Restart Windchill

And the result is what I mentioned in my first post.

Re: new state not available in life cycle template

May be )

The new state must be selectable

Need to clear Tomcat cache <WT_HOME>/tomcat/instances

Rebuild resources

Re: new state not available in life cycle template

Hi Sergey,

Is there a difference between

ant -f codebase\MakeJar.xml custUpdate

and

ant -f codebase\MakeJar.xml

Re: new state not available in life cycle template

selectable.jpg

did you check this one?

Re: new state not available in life cycle template

selectable.png

So it is selectable.

How can I "Need to clear Tomcat cache <WT_HOME>/tomcat/instances"?

Re: new state not available in life cycle template

How to clear the Tomcat cache in Windchill PDMLink?

https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS75448

Re: new state not available in life cycle template

we have windchill 10.2 m030

Re: new state not available in life cycle template

Can you send me your "Windchill\wtCustom\wt\lifecycle\StateRB.rbInfo" file?

Re: new state not available in life cycle template

Hi Sergey,

Here it is.

Re: new state not available in life cycle template

Change the *.ser files in the folder \Windchill\wtCustom\wt\lifecycle and execute command: ant -f codebase\Makejar.xml

Re: new state not available in life cycle template

In 15 years dealing with Windchill I've seen this exact thing asked 10,000 times.  The how-to is all there from PTC but buried pretty deep.  Would be nice to have a simple and concise cheat sheet of the top maybe 20 simple customizations like this.

When you save and then close enumcustomize, notice that is says that a process has actually occurred - and you can see the result in /Windchill/wtCustom/lifecycle/ - this file includes the states added using enumcustomize.  All states still need to be made available to the databse thru the .jar rebuild process noted above.  If curious, you can see the results of this in the database directly.

Announcements