trigger.result action
trigger.result is used for events returning data. It obtains the result from the trigger event and performs further actions using the trigger results. It will display results even if the execution terminates in failure.
Action
Trigger.result is found under the Trigger action.
Canvas
When dragged onto the canvas, the appearance of the action is a rectangle with two routing points.
The left routing point (red) is the failure route. This route will be taken if there is an error during execution.
The right routing point (green) is the success route. This route will be taken if action executes successfully.
Form
dynamic
If the dynamic event is selected then the following form appears when you drag the trigger.result action.
Parameters
Name | Type | Required | Descriptions |
---|---|---|---|
Output | String | The output values. |
http.receive
If the http.receive event is the event selected then the following form appears when you drag the trigger.result action.
Parameters
Name
|
Type
|
Required
|
Descriptions
|
---|---|---|---|
Status | String | Yes | The Status of the response. For example 200 for a successful response. The Status needs to contain the standard codes defined by the HTTP Spec. |
Content type | String | Type of data that will be contained in the body. | |
Headers | Array | Additional information passed between the server and the client in the form of key: value pairs. | |
Body | String | Yes | Type of data that will be contained in the body. |