Skip to main content
12-Amethyst
January 27, 2017
Question

new state not available in life cycle template

  • January 27, 2017
  • 12 replies
  • 3395 views

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

1-Visitor
January 27, 2017

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

12-Amethyst
January 27, 2017

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.

1-Visitor
January 27, 2017

May be )

The new state must be selectable

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

Rebuild resources

2-Explorer
January 27, 2017

selectable.jpg

did you check this one?

12-Amethyst
January 27, 2017

selectable.png

So it is selectable.

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

1-Visitor
January 27, 2017

How to clear the Tomcat cache in Windchill PDMLink?

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

22-Sapphire I
January 27, 2017

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.