From 91b6c393c99b656d3deb67dd9ee6f8b1554985a9 Mon Sep 17 00:00:00 2001 From: "Mohammad. Jani" <96722091+Jani-product@users.noreply.github.com> Date: Sat, 3 Jan 2026 23:55:46 +0530 Subject: [PATCH] there is no if else in dataweave, it should be if , else and else if , the condition uses if, else if , else if and then else but the description of the code snippet was written as if else and else if , instead it should be if , else a "," should be in between if and else --- modules/ROOT/pages/dataweave-flow-control.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ROOT/pages/dataweave-flow-control.adoc b/modules/ROOT/pages/dataweave-flow-control.adoc index 2e5a80fdc..7fb17a284 100644 --- a/modules/ROOT/pages/dataweave-flow-control.adoc +++ b/modules/ROOT/pages/dataweave-flow-control.adoc @@ -193,7 +193,7 @@ else { currency: "EUR" } } ---- -The following example is similar but takes an array as input instead of an object. The body of the script uses `if else` and `else if` statements within a `do` operation to populate the value of the `hello` variable. +The following example is similar but takes an array as input instead of an object. The body of the script uses `if` , `else` and `else if` statements within a `do` operation to populate the value of the `hello` variable. .DataWeave Script: [source,dataweave,linenums]