Response Trigger (httpClient-ResponseTrigger)

This component triggers events or secondary client requests after an initial HttpClient request has completed.

You add a ResponseTrigger to either a HttpClient component or Http Client Proxt Ext (this Proxy Ext is under HttpClientNetwork > HttpClientDevice > Points > StringPoint). The ResponseTrigger evaluates its logic each time the parent receives a response.

Figure 38.   Response Trigger properties
Image

In addition to the standard property (Enabled), this component provides these properties.

Property Value Description
Fire On drop-down list
Defines the trigger criterion using a response code:

200 Response defines a specific response code.

On2xx (200 -299) provides a response code range.

Unauthorized/Forbidden provides an unauthorized (401) or forbidden (403) response.

Response Code Changed from previous defines any code that is different from the previous code.

All Responses defines any code.

Conditions additional properties
Provides a second way to define a trigger criterion by adding one or two conditions from the palette (BodyContains and HeaderContains), then configures the And Boolean property appropriately.

For property descriptions refer to “Conditions (httpClient-HttpConditions)”.

Triggered true or false (default)
Reports true when the ResponseTrigger component’s logical criteria have been fulfilled. Otherwise, it reports (false).

true also fires the trigger topic when the logical criterion has been fulfilled. You may link either of these slots to Wire Sheet logic.