Bookmark and Share Share   

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

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 to select a field to test for this condition. See Select Fields or Paths for Block Properties with the Path Selector for more information.

condition operator

Change the operator, if needed. for this condition.

right condition field

Enter a value or click to select a field to provide the comparison value for this condition. See Select Fields or Paths for Block Properties with the Path Selector for more information.

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 to set the value for the header dynamically. See Select Fields or Paths for Block Properties with the Path Selector for more information.

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.