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 |