Skip to main content
10-Marble
April 2, 2014
Question

Workflow String Attribute as a dropdown on a Task Form?

  • April 2, 2014
  • 5 replies
  • 1945 views

Is it possible to display a workflow string attribute as a drop down menu? I have a set list of values that I would want to select from?

5 replies

1-Visitor
April 2, 2014

Check if following helps you.


https://www.ptc.com/appserver/cs/view/solution.jsp?n=CS36017

April 2, 2014

Septhen,



Please see attached document.Also if you face any issues while creating workflow variable of enumerated type refer below link


https://www.ptc.com/appserver/cs/view/solution.jsp?n=CS16646


Hope this helps !!!!


Thanks,

10-Marble
April 2, 2014
Great thanks for the links. I have a global enumeration already defined. I'm assuming I can't leverage this at all, I need to duplicate the entries in this resource bundle?

Thx,
Steve D.
1-Visitor
April 2, 2014

Hi Stephen,


Shreyas is right,



  1. Set the property file and restart the server as per PTC Document - CS16646.

  2. Create a custom rbInfo file for your LOV

  3. Point your workflow variables by choosing other class referring to your rbInfo class

Hope this will work for your requirement.


BR


MKR

10-Marble
April 2, 2014
It looks like this is not an option for us as we do not own Windchill Information Modeler and when I try to compile the class I get the following error:

Requires Windchill Information Modeler to compile. 😞


My class:

package <package name=">;

import com.ptc.windchill.annotations.metadata.GenAsEnumeratedType;

@GenAsEnumeratedType
public class WfAttributeLOV extends _WfAttributeLOV {
static final long serialVersionUID = 1;
}