conditional changing multiple column

Dear All,
is there an easy way to change multiple column in one step?
Something like this:
If colum1=1, then column2=“A” AND column3=“B”?

thank you

Hi @HarryKl

The Java Snippet is a suitable node for this.

For example:

if (c_column1 == 1)	{
	out_column2 = "A";
	out_column3 = "B";
} else {
	out_column2 = null;
	out_column3 = null;
}

Use the Add button on the bottom right to add ouput columns (new or override).

4 Likes

Many thanks for your answer