Connection Points
Connection points can be inbound or outbound. (should we use the terms inbound and outbound? Should we use input and output instead? Are these used within phixflow? If not, remove them and replace with terms used within phixflow rather than introduce another term)
- Inbound connection points receive data coming into the Actionflow
- Outbound connection points return data out of the Actionflow
Inbound Connection Points
Inbound connection points can either be ‘driving’ or ‘lookup’. Every Actionflow must have only one driving input, which causes the Actionflow to run.
- Driving
- Lookup
Inputs, such as grid data, mouse clicks and scheduled tasks are mapped onto Connection Points. The input/data available to be mapped onto the Connection Points of an Actionflow depends on where the instance of the Actionflow is being called from. For example, if a screen has a grid of data and a card container, an Actionflow on a button which exists on this screen will have access to both sources of data.
To select the source of data, click the input box under Connections. Click the GIF below to enlarge it:
Action Nodes
Action nodes are represented as a circle with an icon and are the building blocks of Actionflows. They perform specific tasks, e.g. updating data, performing calculations, and API integrations, and are wired together.
Action nodes can be dragged from the toolbar onto the canvas to create a new action, and some can be clicked to see existing objects, e.g. click Open Screen to list existing screens, then drag from the Repository onto the canvas.
Most nodes run once per record they receive on their driving connection point. However, some nodes only trigger once after receiving the final record or once per flow, e.g. Open Screen, Start Phase and Open URL nodes.
Node Connections and Mappings
Connections link nodes together, and facilitate the mapping of data from the Output Attributes of one node to the Input Parameters of another. All previous node output attributes or inputs to the Connection Point are available for mapping and only attributes mapped into the input parameters of a node can be used by it.
In this way, we create the logical steps needed to complete a specific piece of functionality.
When two nodes are connected the mappings open, this mapping dialogue can also be opened by clicking on the line between two nodes.
ex
Usually, connections are Some action nodes can have , which act like a lookup. These send out a request for data, which is returned to the action node data. The table below shows the types of connections available on an action node. Lookup connection
Driving connection. These pass data through to the next action node.Nodes must be connected sequentially starting from the
Driving interface connection point. Records will then pass through each node and be manipulated accordingly.Specific to nodes:
- Input Parameters: These are needed if you want to use an attribute in a node.
- Output Attributes: These return the values and make them available to the rest of the actionflow
Inbound
- No Data = On Click/On Enter
- Data = Datasource
Outbound
Mapping data between nodes on an action flow
- Pass-through and Join nodes (only attributes common to all paths leading to the Join can be passed through)
In an actionflow, individual actions have connection points to receive data from the previous action. This page explains the type of connection point, and their properties.
Overview
Everything in an actionflow is connected using connection points. They are blue when connected and grey when not connected. There are two types of connections:
- Driving connection and
- Lookup connection
For information about the concepts related to wiring actionflows together using connection points, see Wiring Actionflows.
For most action nodes, data flow is configured when you map attributes to the input connection points. For gateway nodes, you can also control the data flow by mapping to output connection points. This is because the expressions in a gateway provide the logic for which path the data flows, and different paths may require different data to pass through the gateway.
Connection Point Types
Icon | Connection Point | Relevant to | Description |
---|---|---|---|
Interface Driving Connection Point | Input Interface Output Interface |
| |
Interface Lookup Connection Point | Input Interface Output Interface |
| |
Driving Output Connection Point | Input Data Components Calculate View Gateway Actionflow |
| |
Driving Input Connection Point | Output Data Components Calculate View Gateway Save Records Open Screen Open URL Run Analysis Phase |
| |
Lookup Output Connection Point | Input Data Components View |
| |
Lookup Input Connection Point | Calculate Gateway |
|
Types of Action Node
The following table summarises the purpose of each type of action node, with a link to the reference page for the node.
Icon | Description | How it runs | Available Connections |
---|---|---|---|
Actionflow See Actionflow Node | Embeds an actionflow within the current actionflow. | Once per record | Driving connection |
Open Screen See Open Screen Node | Add an action to open a specified screen. If the specified screen contains a start phase button the node can then be connected to a start phase node. The buttons can be mapped to each output of the node to trigger different pathways depending on what the user clicks. For example, this method is used if the process requires confirmation by the user. A confirmation screen can appear with a message 'Are you sure?' with two options
| Once per flow | Driving connection |
View See View Node | Add a node for a data view. The actionflow uses views for additional data to use when processing records. | Once per record | Driving connection Lookup connection |
Calculate See Calculate Node | Add an action to manipulate the data that is passed to the calculate action. In the calculate action, write an expression using one or more of the 115+ functions available in PhixFlow. | Once per record | Driving connection |
Gateway See Gateway Node | Add a node to specify decision logic. Gateways control the route that records take as they flow through the actionflow. | Once per record | Driving connection Lookup connection |
Open URL See Open URL Node | Add an action to open a specified URL. | Once per flow | Driving connection |
Save Records See Save Node | Add a node to save the specified records to their table. | Once per record | Driving connection |
Run Analysis See Analysis Node | Runs analysis on the specified tables. | Once per record | Driving connection |
HTTP Node See HTTP Node | Performs an HTTP request. | Once per record | Driving connection |
Send Email See Email Node | Sends an Email to specified recipients. | Once per record | Driving connection |
JSON Node See JSON Node | Handles JSON data and returns record objects as defined by the configuration. | Once per record | Driving connection |
Loop Node See Loop Nodes | Facilitates the ability to loop within an actionflow for tasks such as polling or paging through results. | Once per record | Driving connection |
Start Phase See Phase Node | Starts the phase specified by the user on the node. To add a phase node there must be more than one phase in the actionflow. | Once per flow | Driving connection |
The calculate and analysis nodes and their connection points, can have an attribute type of Structured Data. Use this if you need the actionflow to pass a list (an array of values), such as a list of identifiers.