What is a Gateway Action?
The Gateway action controls the path that records take as they flow through an Actionflow. Several output connection points can be added. On the output connection points, you can specify decision logic to control the path of data, record by record.
Creating Gateway Actions
- Click and drag the Gateway icon in the toolbar onto the canvas
- Enter a name for the Gateway action, then select Create Action
- In the Gateway action on the right, the Rules can be seen Properties
Editing Gateway Actions
- Right-click on the connector out of the gateway action node and click Edit Expression
Worked Example
Here's a worked example using the Shop Data (available from the Learning Centre).
In this example, we are using:
- A Shop Stock screen containing a grid of the Shop Stock data, a pie chart of the Shop Stock data and a grid of the Shop Departments data - this screen was created using the Multi-Tile template
If you are completing this chapter as part of the Actionflow course and using a training instance, the data and screens have already been pre-loaded into the Actionflow Intermediate Application. For this example, we'll be working on the grid on the Shop Stock screen.
GIF/SCREENSHOT OF FINISHED RESULT
- For the Auto Save Action Method, choose Actionflow
- For the Auto Save Actionflow, click the icon to create a new Actionflow
- Name: NumberCheck