Advanced Properties: Controlling Blocks
Using the Advanced Properties tab, you can control the following aspects of how blocks within a mashup run:
Apply Conditions to Block Execution: to set one or more conditions that must be met for a block to be run when the mashup is used. See Add If/Else Conditions for examples.
Define Error Handling: to determine how the mashup should react if there are errors or no responses from mashables or mashups that are used in this mashup.
Add HTTP Response Headers: to define specific HTTP headers that should be included in the response for this mashup.
Handle Empty Fields for WSDL Web Services: to determine how empty, optional fields should be handled in requests to WSDL Web Services.
Apply Conditions to Block Execution
Use the Execute Condition section in the Advanced Properties tab for any block to define conditions that must be met for this block to be used in the mashup. See Add If/Else Conditions for examples.
![]() | When conditions are not met during use of the mashup, the block does not run. This stops the flow of results from that block and can cause the mashup to have no results or cause other unexpected behavior. |
| apply condition | If you define multiple conditions, set this option to determine whether all conditions must be met in order for the block to run or any one condition is acceptable to run the block. |
| left condition field | Enter a value or click |
| condition operator | Change the operator, if needed. for this condition. |
| right condition field | Enter a value or click |
| Case Sensitive | Set this option if the comparison should be case sensitive. |
| Add Condition | Use this button to add more conditions. |
Define Error Handling
You can control how errors should be handled for mashables or mashups that are used in your mashup using the Error Handling and Timeout section of the Advanced Properties tab. This section only appears for mashable or mashup blocks.
| Timeout | Set the number of seconds that Presto should wait for a response from a mashable or mashup before continuing with processing the flow of this mashup. |
| On Error | Choose the action Presto should take if the response from the mashable or mashup is an error. Be default, this is Abort which stops any further processing for this mashup. Continue allows the mashup to continue processing. |
Add HTTP Response Headers
You can add HTTP headers to the mashup in the HTTP Response Header section of the Advanced Properties tab. This section is only available for the
Output block
| Add HTTP Response Header | Click this button to add an HTTP header to the response from this mashup. This opens two new fields where you define the header you want to add. |
| left header field | Choose the name of the HTTP header that you want to add. |
| right header field | Enter the literal value to assign to this mashup response header or click |
Handle Empty Fields for WSDL Web Services
Use the Operation Request section to determine how optional, empty fields are handled in requests for WSDL Web Services.
| Empty fields | Change this property to either include or omits optional, empty fields in the requests sent to WSDL Web Services when they are invoked. |
