Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Insert excerpt | ||||||||
---|---|---|---|---|---|---|---|---|
|
Excerpt | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OverviewUse a
Basic SettingsExpects literal values or expressions encapsulated within ${} syntax, for example
Input Connection PointsCan Accept a single
The grid contains a list of all input connection points and their type.
Output Connection PointsThe grid contains a list of output connection points, by default this will be out and error.
Adding and EditingTo add a new output path, in the section toolbar click Insert excerpt | | _add | _add | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
nopanel | true | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Insert excerpt | _delete | _delete | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
nopanel | true |
Field | Description | Example |
---|---|---|
Name | Name of the output | out |
Output
Type// $ returns everything, this syntax traverses down two levels using two full // stops.
$..events
_result.status
Output Record
An HTTP Node has two output connection points out
and error
. An HTTP Node is triggered for each input record and will generate one output record which will be sent on either the out or error output.
The resulting record contains the attributes specified by the output connection point, successful records are passed down the out
connection point and records containing an error
are passed down the error connection point. The stricture of the records by default is as follows:
body: The content returned by a successful request. For example, JSON content.
- contentType: The type of response provided by the target HTTP request. For example,
application/json; charset=utf-8
. status: the returned status code. For example,
200
.status message: the returns status message. For example,
OK
.
Insert excerpt | ||||||||
---|---|---|---|---|---|---|---|---|
|
Tip |
---|
Connect to a JSON Node or XML Node to the output connection to interpret the response into individual records. |
Headers
Are typically used to specify information for the request such as character sets, session tokens or passwords. Headers can make use of the Secret Key Details see below. For more information see HTTP Header.
For example,
- Name:
Content-Type
- Value:
text/xml; charset=UTF-8
Secret Key Details
Secret Keys allow sensitive data such as passwords or security tokens to be encrypted and stored in the PhixFlow Database.
Secret keys have a name which they can be referenced by using the syntax ${_datasource.keyName}
. For full details on secret keys see Secret Key and Local Secret.
Description
We recommend that you always enter a description to explain the purpose of this item.
Advanced
Field | Description |
---|---|
Connection Timeout (s) | The maximum time to wait to while attempting to create a connection, measured in seconds. The default for this is set to 300 seconds. |
Response Packet Timeout (s) | The maximum time to wait between responses from the data packets, measured in seconds. The default for this is set to 180 seconds. |
Prioritise throughput over ordering | When this option is ticked records are processed in parallel to optimise performance. This means the order records are processed is nondeterministic. When unticked (default), records are processed in the order they are provided. |
Learn More
- Understanding Actionflows
- Creating Actionflows
- Wiring Actionflows
- Authenticating for an API
- Secret Key and Local Secret
For links to all pages in this topic, see Understanding Actionflows.