Java Snippet

Hello all,
I am using Java Snippet to sort out some columns by some conditions.
I am new in JAVA, so what should I write after “out_budget” to receive a final result?

Best,
Ram

Hello @IMR2KA,

I assume that you want to write the values of “bin” into the “Budget1” column, correct? In that case you can write
out_Budget = bin;

Now the column “Budget1” is populated with the values from “bin”.

Best regards
Jörg

2 Likes

Thank you @JoergWas,
Yes, I want to write values of “bin” into “Budget1” column.
I wrote how you recommended, but now I have another mistake “Arrays…”
“arrays.asList” is same as “IN” in SQL etc. Why do I have a mistake?

Best,
Ram

What is the error message that you get? I assume that the error is because “bin” is not an array.
Can you also share the workflow? Then I can have a closer look.

Best
Jörg

1 Like

You need to import Arrays

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.