cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

We are happy to announce the new Windchill Customization board! Learn more.

Creating a new Type Name to be used with Variables

newbie1
3-Visitor

Creating a new Type Name to be used with Variables

I am having troubles defining custom data types in a workflow and would appreciate it if someone can give me some advice. To create a new variable in an activity, the "Type Name" has to be selected from the existing data types. It is possible to import a custom class using "Windchill classes", so I tried using the com.acme.Pet (from the tutorial) but this only shows the label and there is no field to assign the value to. How can I specify the type of the value? If I want to have a dropdown, like for the wt.org.WTUser, with dog, cat and Gerbil, how should I proceed? 

 

Thank you for your help in advance! 

1 REPLY 1
newbie1
3-Visitor
(To:newbie1)

Found the solution here: https://www.ptc.com/en/support/article?n=CS36017
I used com.acme.PetKind instead of com.acme.Pet using Other class and this does create a dropdown with the pets created in PetKind.

 

Does anybody have a better and/or different solution than this?

Top Tags