Skip to main content
1-Visitor
February 5, 2016
Question

How to create ArrayList type of Varible in Workflow to receive ArrayList object in expression robot

  • February 5, 2016
  • 3 replies
  • 2261 views

Hi All,

in one of my requirement, i am passing a change object to a custom class, and then want to receive a ArrayList object in workflow expression robot.

how i can create Variable of ArrayList type.

i tried to create it, but while doing check syntax in workflow, it gives me below error.

"wt.util.WTException: ATTENTION: Only Evolvable or Persistable classes can be set as workflow variables.

Nested exception is: wt.util.WTException: ATTENTION: Only Evolvable or Persistable classes can be set as workflow variables."

Please let me know how i can tackle this.

Regards,

Vivek

3 replies

17-Peridot
February 5, 2016

Hi,

I'm not sure if it helps for a ArrayList. I have also tried to play with this before but I tried to create a own class.

There is a case about evolvable classes: https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS16646

  • To support non-persistable and non-evolvable type of objects
    1. Set property wt.workflow.definer.variable.ShowWfEvolvableWarning=true in <WINDCHILL_HOME>\codebase\wt.properties
      • Property is added since Windchill PDMLink 10.0 M010
    2. Restart Windchill
    3. Try use case again
    4. it will prompt a warining message instead of error but the variable will be created without problem
2-Explorer
February 5, 2016

workflowclass.png

Did you select the correct class type in other class name?

Thank you

Binesh Kumar

Medtronic - MITG

23-Emerald II
March 9, 2016

Vivek,

Did Bjoern's suggestion resolve your issue?