Data Flows specification Syntax in Transform Language

Hi all,

I’m having trouble understanding the syntax for specifying ports/data flows. There is a REFORMAT node with one input port and one output port, both having the same meta data (List). A snippet of the code I’m having problems with is:

//#TL
if (isnull($List.SupplySeq)l) {
    $List.SupplySeq:="A";
    ...more code to go here...
}

which causes a parse error on line 3

How do I specify that I want to assign a value to output port #1 on line three?

thanks
Paul

Hi, mapping for output fields can be last part of function only, so there can’t be any code (different then mapping) after it. The solution is to move mapping to separate function and call it there.