Skip to main content
19-Tanzanite
October 14, 2021
Solved

Restore wt.lifecycle.StateRB fole

  • October 14, 2021
  • 1 reply
  • 2260 views

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.

Best answer by BrianToussaint

@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. ðŸ˜‚

1 reply

23-Emerald III
October 14, 2021

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.

19-Tanzanite
October 14, 2021
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.
23-Emerald III
October 14, 2021

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