Skip to main content
12-Amethyst
Jan 27, 2017 10:11 AM UTC
Question

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

1-Visitor
Jan 27, 2017 10:22 AM UTC

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

Translate
12-Amethyst
Jan 27, 2017 10:47 AM UTC

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.

Translate
1-Visitor
Jan 27, 2017 11:20 AM UTC

May be )

The new state must be selectable

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

Rebuild resources

Translate
2-Explorer
Jan 27, 2017 11:27 AM UTC

selectable.jpg

did you check this one?

Translate
12-Amethyst
Jan 27, 2017 11:46 AM UTC

selectable.png

So it is selectable.

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

Translate
1-Visitor
Jan 27, 2017 11:57 AM UTC

How to clear the Tomcat cache in Windchill PDMLink?

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

Translate
22-Sapphire I
Jan 27, 2017 4:29 PM UTC

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.

Translate