# Rule Engine Node concatenation

**URL:** <https://forum.knime.com/t/rule-engine-node-concatenation/42923>\
**Category:** KNIME Analytics Platform\
**Created:** [May 13, 2022, 8:47am UTC](https://forum.knime.com/t/rule-engine-node-concatenation/42923 "2022-05-13T08:47:11Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![mlauber71](https://forum-cdn.knime.com/user_avatar/forum.knime.com/mlauber71/32/73590_2.png) [@mlauber71](https://forum.knime.com/u/mlauber71)\
**Post date:** [May 14, 2022, 6:29am UTC](https://forum.knime.com/t/rule-engine-node-concatenation/42923/3 "2022-05-14T06:29:44Z")

</div>

@Vincentsoy if you like more complicated conditions you can always use the Java snippet and just write them the way you like.

It’s just a [little bit more setup](https://forum.knime.com/t/java-snipped-simple-if-else/26337/2) and not so ‘KNIME like’ but does work perfectly well.

> [@java snipped simple if else](https://forum.knime.com/t/java-snipped-simple-if-else/26337/3):
>
> I built this example from the previous one where you could use a combination of columns and Flow Variable in a simple Java Snippet. It might serve as another inspiration. The code is like this: // make the incoming Flow Variable into a Java variable double v\_input\_factor; v\_input\_factor = $${Dinput\_factor}$$; // convert the double Java variable into a string to use in the code // https://www.journaldev.com/18380/java-convert-double-to-string String v\_input\_factor\_string = new Stri…

If it is just one condition also the simple Java Snippet might work:

> **[Use Java Snippet to set rule for certain Row ID - also demonstrating the use...](https://hub.knime.com/mlauber71/spaces/Public/kn_example_java_equals_multiply_one_cell_not_all~OgU2CbKJzzaz90UN/current-state)**
>
> Use Java Snippet to set rule for certain Row ID - also demonstrating the use of .equals() in Java

If you still want more Java I have this collection:

> **[Meta Collection about KNIME and Java – mlauber71](https://hub.knime.com/mlauber71/spaces/Public/_knime_and_java_meta_collection~xLnTTC6zyiEveNq5/current-state)**
>
> Meta Collection about KNIME and Java As a platform KNIME is well suited to collaborate with all kinds of tools and systems, including Java. Collection of Java …

---

_[View the full topic](https://forum.knime.com/t/rule-engine-node-concatenation/42923)._
