TrackStudio Enterprise 3.1
Example 4

To list all custom fields with values for the current task, use the following task processing script:

String s = "";
Map udfs = task.getUDFValues();
for(Iterator it = udfs.keySet().iterator(); it.hasNext();) {
    Object udf = udfs.get(it.next());
    s += udf.getCaption() + ":";
    s += udf.getValue(task) + "|";

}
return s;

Associated custom field properties:

Property 
Value 
Type 
String 
Copyright (c) 2002-2005. All rights reserved.