Forum Discussion
I believe this is what you are asking for. The attached pipeline uses Apache Velocity to handle the if-then-else logic to output the appropriate containers in the xml. I created an array of objects to show both the 0.0 and non-zero case, which allowed me to also demonstrate for-loop logic to loop through the array contents.
XML Generator if-then-else_2021_05_13.slp (5.1 KB)
Mahesh7225
5 years agoNew Contributor
Hello Koryknick
Thank you for reply
But still its not resolve my issue , my expectation is like this if xml input is
case 1) if xml input is then output should be
Case 2 ) if input is then output should be
Case 3 ) if input is then output should be
Thank you