Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

Translate the entire conversation x

Flexible Change Converter issues

BenLoosli
23-Emerald III

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.

ACCEPTED SOLUTION

Accepted Solutions
BenLoosli
23-Emerald III
(To:BenLoosli)

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.

View solution in original post

12 REPLIES 12
BenLoosli
23-Emerald III
(To:RandyJones)

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?

RandyJones
20-Turquoise
(To:BenLoosli)

Adding thru the UI was added in 12.1.1.0:

https://support.ptc.com/help/wnc/r12.1.1.0/en/?_gl=1*14kx08i*_gcl_au*MTg3Mjc5ODk4OC4xNzM4MTY0MjA5LjE2NDYzNTUzMzcuMTczODc4NzQwMC4xNzM4Nzg3NDA1*_ga*MTI0ODMzNzM5NC4xNzIyMzUwMjA5*_ga_7NMP2MSYPM*MTczODc4NzM5My4zNzUuMS4xNzM4NzkxODI5LjMuMC4w*_ga_CBN5QVB9VJ*MTczODc5MTQ4My42MjMuMS4xNzM4NzkxODI4LjAuMC4w#page/...

 

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?

BenLoosli
23-Emerald III
(To:RandyJones)

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.

RandyJones
20-Turquoise
(To:BenLoosli)
BenLoosli
23-Emerald III
(To:RandyJones)

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.

RandyJones
20-Turquoise
(To:BenLoosli)


@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 

 

BenLoosli
23-Emerald III
(To:RandyJones)

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.

RandyJones
20-Turquoise
(To:BenLoosli)

More fun than you can stand?

avillanueva
22-Sapphire III
(To:BenLoosli)

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?

BenLoosli
23-Emerald III
(To:avillanueva)

First time doing a conversion to flexible links.

BenLoosli
23-Emerald III
(To:BenLoosli)

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.

Announcements

Top Tags