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 MashZone NextGen Wires | Creating Mashups in Wires | Add If/Else Conditions | Set Execution Conditions
 
Set Execution Conditions
Execution conditions can be set on blocks for any mashable or mashup and for most of the built-in MashZone NextGen built-in action blocks. Custom blocks may also support execution conditions.
To set an execution condition:
1. Select the first block of a branch on the canvas that you want to make conditional.
2. Click the Advanced Properties tab in the block properties pane.
3. Click in the left field of a condition to select the field, input parameter or MashZone NextGen global or user attribute to test in this condition. See Select Fields or Paths for Block Properties with the Path Selector for more information.
4. If needed, change the comparison function for the condition to:
*Contains = checks to see that the text characters you are testing for are present somewhere in the field you have chosen to test. The comparison is not case sensitive, unless you set the Case Sensitive option.
*Does not contain = checks to see that the text characters you are testing for are not present somewhere in the field you have chosen to test. The comparison is not case sensitive, unless you set the Case Sensitive option.
*Matches = checks to see that the characters you are testing for are present somewhere in the field you have chosen to test.
*Does not match = checks to see that the characters you are testing for are not present somewhere in the field you have chosen to test.
*= (equals), != (does not equal), > (is greater than), < ()is less than, >= (is greater than or equals) or <= ()is less than or equals = compares the entire value of the field you select with the value you set for the condition using standard numeric comparisons.
5. Enter a value to test for this condition in the right condition field, or click to set the value for the header dynamically. See Select Fields or Paths for Block Properties with the Path Selector for more information.
6. Mark this test as Case Sensitive, if needed.
7. Click Add Condition to create additional conditions to be met and complete conditions fields as needed.
Use the top field to indicate whether all conditions must be met beforethe block should execute or meeting any condition issufficient.
MashZone NextGen developers who know XPath well can use the Advanced Mode button to customize the XPath expressions for conditions. Use the advance mode with care, however, as it disables the display of conditions in basic mode. If you return the condition to basic mode, your customized XPath expression for the condition is lost.
See Edit Mashup XPath Expressions in Advanced Mode for more information.

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