Flexible Change Converter issues
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Flexible Change Converter issues
Version: Windchill 12.1
Use Case: Upgrading to 13.0.2 requires change object links be converted to flexible links before UpgradeManager can be run.
Description:
When I run the Flexible Change Converter in report mode, it says I have 164 links to be converted. When I run the convertlinks action, it fails and says that I have an enumerated type of URGENT that is not defined. I have added URGENT to RequestPrioirtyRB, ComplexityRB and IssuePriorityRB and it still fails. I have deleted ALL Change Notices in the system and the report still shows 164 and fails with the error of unable to resolve the URGENT enumerated type.
The change notices were created back in WIndchill 11 or 11.1 days (2017-2018) and have been upgraded since then to 12.0 and now in 12.1. The 12.1 is a test system using the 12.0 production data.
I have had a call open with PTC since early December on this and no resolution from them.
I would think that deleting all of the Change Notices would allow the convert links utility to run.
If anyone has any ideas, please share them as I need to get this system up to 13.0.2.
Solved! Go to Solution.
- Labels:
-
Upgrade_Migration
- Tags:
- Flexible Links
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Ok it is fixed and I now have Flexible links.
Running the converter put the information from the RB.ser files into the Type and Attribute Custom enumerations tab.
Running the convertLinks command, and I now got a missing TRIVIAL enumeration.
Added this through the Windchill UI and run convertLinks and get a missing ROUTINE enumeration.
Added it and run convertLinks again and it goes through.
Then I run the convertEligibleObjects command and finally the setFlexible command.
My report now shows my links as being Flexible so I can go back to my production system and repeat this and then do the 13.0.2 upgrade.
Thanks for pointing me in the right direction.
PTC Tech Support has had this call for 2 months and never asked about running the converter.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Have you run the Migrate Customized Enumerations utility on your system?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
The URGENT enumarated va;lue was added with the enumcustomize utility into the respective RB.ser files and then the ant -f MakeJar.xml custUpdate was run on the system and then method servers restarted.
Is adding enumerated items through the UI the 'new' preferred method for adding them?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Adding thru the UI was added in 12.1.1.0:
This is a much better way. Only drawback so far is you can't tell what are ootb entries and what are the custom ones you have put in place. Somebody actually posted something on this.
My impression was until you ran this utility the system would still look at the legacy rb files however in your case the flexible change converter maybe only looking at the new way?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
When I looked at the RB files that I had added URGENT to in enumCustomize, it was removed after running the command in Migratiing Customized Enumerations article. I agree that you cannot now look directly at the list in the UI and see which ones are OOTB and which are customized, like them being in italics in the enumCustomize display.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I tried running this on my 12.0.2 system and it comes back with a message that only Windchill Plus user can run this command. I am running it as the site admin? What 'more powerful' user is needed for this?
Additional comments on this:
The command I am trying to run is: windchill com.ptc.core.lwc.server.EnumeratedTypeCustomizationMigrator
I am on an on prem 12.0.2. CPS10 system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@BenLoosli wrote:
I tried running this on my 12.0.2 system and it comes back with a message that only Windchill Plus user can run this command. I am running it as the site admin? What 'more powerful' user is needed for this?
Additional comments on this:
The command I am trying to run is: windchill com.ptc.core.lwc.server.EnumeratedTypeCustomizationMigrator
I am on an on prem 12.0.2. CPS10 system.
This is not available until 12.1.1.0:
Whats new 12.1.1.0:
Customize Modeled Enumerations
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I am figuring that out. Which means I have to do a double upgrade, 12.0.2 to 12.1.2, fix the links, then do the 12.1.2 to 13.0.2 upgrade.
The PTC upgrade chart that shows a 12.0.2 to 13.0.2 as being a viable upgrade path needs a caveat if you don't have flexible links.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
More fun than you can stand?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I remember running this back in 2022 when we were on 11.1 and moving to 12.0. We ran in then. Had you run it then to convert the old data or is this your first time converting your system?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
First time doing a conversion to flexible links.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Ok it is fixed and I now have Flexible links.
Running the converter put the information from the RB.ser files into the Type and Attribute Custom enumerations tab.
Running the convertLinks command, and I now got a missing TRIVIAL enumeration.
Added this through the Windchill UI and run convertLinks and get a missing ROUTINE enumeration.
Added it and run convertLinks again and it goes through.
Then I run the convertEligibleObjects command and finally the setFlexible command.
My report now shows my links as being Flexible so I can go back to my production system and repeat this and then do the 13.0.2 upgrade.
Thanks for pointing me in the right direction.
PTC Tech Support has had this call for 2 months and never asked about running the converter.
