# Knime Java script resource

**URL:** <https://forum.knime.com/t/knime-java-script-resource/14266>\
**Category:** KNIME Analytics Platform\
**Created:** [March 20, 2019, 6:12am UTC](https://forum.knime.com/t/knime-java-script-resource/14266 "2019-03-20T06:12:24Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ScottF](https://forum-cdn.knime.com/user_avatar/forum.knime.com/scottf/32/61316_2.png) [@ScottF](https://forum.knime.com/u/ScottF)\
**Post date:** [March 20, 2019, 11:18am UTC](https://forum.knime.com/t/knime-java-script-resource/14266/2 "2019-03-20T11:18:31Z")

</div>

Hi @adjrock

I’m not sure offhand what link you are referring to, but maybe this post from Moritz today will prove helpful?

> [@How to use if expressions in a column expressions node](https://forum.knime.com/t/how-to-use-if-expressions-in-a-column-expressions-node/14274/8):
>
> Hi, sorry that I missed this post concerning the Column Expressions node. In another thread (see [here](https://forum.knime.com/t/syntax-and-line-breaks/13823)) I broke down the syntax of the Column Expressions and Variable Expressions node and how to use it. I’ve already mentioned that it is possible to use loops (for, while) and if-else statements. As previous posts already mentioned, you have the following syntax: if(\*\*state\*\*) { // do this, if \*\*state\*\* evaluates to true } else { // do that, if \*\*state\*\* evaluates to false } So this is…

---

_[View the full topic](https://forum.knime.com/t/knime-java-script-resource/14266)._
