Skip to main content
19-Tanzanite
Oct 14, 2021 12:49 PM UTC
Solved

Restore wt.lifecycle.StateRB fole

I messed up with my StateRB file.  How do I restore it to the previous version from backup?  I tried to copy the files there and run the ant command but it didn't take them.

19-Tanzanite
Oct 15, 2021 12:12 PM UTC

@BenLoosli PTC support finally came back with that I need to go to the wtCustom folder to grab the latest files.  Then I had to rebuild them through a force compile and then I could run the ant command.

 

Lesson learned, do not use the Replace as a Filter button. 😂

5 replies

23-Emerald III
Oct 14, 2021 1:02 PM UTC

Try using enumCustomize and edit the StateRB.RB.ser file in codebase\wt\lifecycle folder.

How many customized lifecycle states do you have? I only have 1 so that is easy.

Translate
19-Tanzanite
Oct 14, 2021 1:05 PM UTC
I lost all the OOTB lifecycle states. It will not let me add them back in, so that is why I need to restore to a previous version of the file.
Never hit the "Replacement" button and then do a save without unchecking it. I was trying to narrow down my test server so I made sure I duplicated it on production.
Translate
23-Emerald III
Oct 14, 2021 1:25 PM UTC

Have you tried copying the file from another machine and then running the enumCustomize and ant -f MakeJar.xml command?

Translate