Appendix : Legacy Presto components : Mashables and Mashups : Mashups in Business Analytics 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 Business Analytics 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 Business Analytics 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.
Note:  
Business Analytics 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.
Copyright © 2013-2017 Software AG, Darmstadt, Germany. (Innovation Release)

Product LogoContact Support   |   Community   |   Feedback