Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note

For applications created in PhixFlow versions 8.3 and earlier, use actions and stream item actions to configure user interaction with data; see Using Actions and Stream Item Actions.

This page explains the concepts of the new actionflow feature, introduced in PhixFlow 9.0.

Overview

Actionflows are diagrams in which you create the functionality of your application. Actionflows are wired onto the screen using connectors:

...

This page explains actionflow concepts. For details of how to create an actionflow and their properties see: Actionflows.

Actionflow Diagrams

In an actionflow diagram, each smallest action that PhixFlow can perform is represented as a circle, called a node. Nodes can be:

...

As you add nodes to the actionflow, you wire the output connector of one node to the input  connector on the next. In this way, you are create the logical steps needed to complete a specific piece of functionality. Todo UPDATE picture

Reusing Actionflows

You can resuse an actionflow throughout your application. This means you only need to create one actionflow for functionality that occurs on different screens or layouts, such as to save or update records. You can also include an actionflow as a node within another actionflow.

...

For each instance of an actionflow, you specify which data the actionflow takes by wiring to connectors. This means you can connect to attributes with any name.

Illustration

The picture below shows an actionflow that validates the format of data to ensure it is a valid area code. It's input connection is called Area Code.

...

  • Instance 1 is the actionflow with input from Postcode 
  • Instance 2 is the actionflow with input from Zip Code

As actionflows are reusable, you:

  • create an actionflow, setting up all the nodes, wires and the logic
  • use and actionflow, connecting it to screen components, events and data, thin mapping the data through the actionflow.

Actionflow Window

The following illustration shows the layout of an actionflow diagram. The numbered areas are explained below.

...