I am loading a CSV and during each
row I am trying to set properties for nodes dynamically within a FOREACH block. I have verified that the variables are in scope and available in the loop, but I am finding that when a variable is part of a String concatenation that it is not evaluated. Does anyone have an idea why t.state and t.panel are set, but that t.val is not?
WITH ["TEST-1", "TEST-2"] AS panels, row FOREACH (panel in panels | MERGE (t:DEBUG) SET t.state = row.State SET t.panel = panel SET t.val = row["Result " + panel + "-ID"] )