IF statement in XML Generator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2019 05:17 PM
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2019 07:33 AM
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2019 08:11 AM
Hi @alex.panganiban.guild, you can use Apache Velocity Templates in XML Generator. For more information check the link below :
