IF statement in XML Generator

I’ve seen in some examples on how to incorporate a foreach loop in the XML generator, but I’d to do a simple IF statement. Anyone have an example of the edited XML in their XML Generator snap that contains an IF clause? Is it even possible?

As you know there isn’t an if statement available. Not sure about your use case but one thing my team has done is to use a router that then runs an execute pipeline snap. In general we have found that many small pipelines give more flexibility than one large one

Hi @alexpanganiban, you can use Apache Velocity Templates in XML Generator. For more information check the link below :