Currently I have the following CTL script:
function integer transform() {
string[] emptyList;
string[] myList1 = nvl($in.0.MyList1, emptyList);
string[] myList2 = nvl($in.0.MyList2, emptyList);
string[] myList3 = nvl($in.0.MyList3, emptyList);
string[] myList4 = nvl($in.0.MyList4, emptyList);
string[] myList5 = nvl($in.0.MyList5, emptyList);
return ALL;
}
Is there a more elegant way of instantiating an empty list besides declaring a dummy variable such as ‘emptyList’?
Thanks.