Integrate Software AG Products Using Digital Event Services 10.4 | Integrate Software AG Products Using Digital Event Services | MashZone NextGen Help | Appendix | Legacy Presto components | Mashables and Mashups | Mashups in EMML | Writing Mashups in EMML | Controlling Mashup Processing Flow
 
Controlling Mashup Processing Flow
You may use several mashup statements to control the processing flow for a mashup operation. This includes:
*<if> for conditional processing.
*<for> for looping based on simple counts.
*<foreach> for looping through a set of nodes. This can be simple iterative loops or loops can be processed concurrently.
*<while> for looping as long as a condition is true.
*<break> to forcibly stop looping statements.
*<try> to catch and handle potential exceptions from statements within the <try> block.
*<throw> to forceably stop mashup processing and throw an exception as the mashup result.
*<return> to forceably stop mashup processing and return the current value of <output> .
*Database Mashable Transactions using <presto:beginTransaction>, <presto:commitTransaction> and <presto:rollbackTransaction>.
*SQL Transactions using <sqlBeginTransaction>, <sqlCommit> and <sqlRollback>.

Copyright © 2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release