Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X
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!
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?