Skip to main content
1-Visitor
January 26, 2018
Question

Creating a new Type Name to be used with Variables

  • January 26, 2018
  • 1 reply
  • 1839 views

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

newbie11-VisitorAuthor
1-Visitor
January 31, 2018

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?