Insert excerpt |
---|
| _Banners |
---|
| _Banners |
---|
name | actionflow |
---|
nopanel | true |
---|
|
What is an -include_actionflow_icon | _actionflow_icon | nopanel | true |
Actionflow?Image Removed Actionflows are used in applications created in version 9.0 and beyond.
An Actionflow is a diagram that |
---|
|
What is an Actionflow?An Actionflow is a diagram that represents a sequence of |
action steps .Each Actionflow belongs to an application and is reusable within that application. within an application. It controls the interactions users have with an application and its data, e.g. opening a new screen to edit data. Actionflows are composed of individual |
actions (nodes) that are wired togetheractions nodes that each perform a specific task, e.g. opening a screen or saving data, and have input and output connections to screens, buttons, tables or |
tablesActionflows are designed to be resilient to name changes in screens, components, tables and attributes.
Actionflows belong to an application or package, and are represented by the Image Added icon.
|
Excerpt |
---|
|
Example ActionflowFor this example Actionflow, the user clicks a button to trigger the Actionflow that saves a new record containing the text "New". Image Added Tip |
---|
Click on any image to see it in a larger window. |
|
Excerpt |
---|
name | WhyAreActionflowsUsed |
---|
|
Why are Actionflows used in PhixFlow?Actionflows make PhixFlow applications interactive. They convert a static screen into a user interface |
, simple complex the an application user to interact with the screens |
, screen components and data.The /number/ principles of an Actionflow
Actionflows that insert new records do not need any data to run them and therefore should have an Input Connection of On ClickActionflows to edit an existing record do need data to run them and therefore should have an Input Connection using a DatasourceAlways map in the minimum amount of data possible to run the Actionflow, e.g. just the UIDand data. Actionflows are composable and reusable across an application but with different inputs connected, making Actionflows "data agnostic" and flexible, and ultimately saving time and effort.
|
Excerpt |
---|
|
Actionflow Simplified Overview The following diagram illustrates a simplified view of an Actionflow that is being used by two different applications. The Actionflow is set up to take in a value, Area Code, and return an value, Normalised Area Code, in the form of an Output value. The Contact App maps a Postcode onto the Area Code, this is then processed by the Actionflow to produce a Normalised Area Code, and the Actionflow returns a normalised version of the Postcode. The Logistics App also uses the Actionflow, which is a different instance, and this time a Zip Code is mapped in. The returned Output can be used by the applications, for example, mapping the output onto a form field on a screen to display it. Image Added
|
How to Create Actionflows
On a screen, any component that has an
Insert excerpt |
---|
| _actionflow |
---|
| _actionflow |
---|
nopanel | true |
---|
|
tab can be configured to trigger an Actionflow to run. Image Added
On a screen, click a component to display its properties. Components that can have Actionflows are:
- buttons
- grid views
- card/containers
- areas
- form fields
Right click on a button and select Add Actionflow.
Image Added
Create via Event Handler
In the component properties →
Insert excerpt |
---|
| _actionflow |
---|
| _actionflow |
---|
nopanel | true |
---|
|
Settings, in the Event Handler section, click .- Event Type: select an event type
- Action Method: select Actionflow
- Actionflow: click
Image Added
Create via Action Settings
Add via an action directly.
- Action Method: select Actionflow
- Actionflow: click
Image Added
Image Added