Insert excerpt |
---|
| _Banners |
---|
| _Banners |
---|
name | actionflow |
---|
nopanel | true |
---|
|
This page is for application designers who want to create actionflows to add functionality to an application screen. For actionflow concepts, see Understanding 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 RemovedImage Added
To create an actionflow:
- On a screen, click a component to display its properties. Components that can have actionflows are:
- buttons
- grid views
- card/containers
- areas
- form fields.
- There are 3 ways to add actionflows. In the component properties →
Insert excerpt |
---|
| _actionflow |
---|
| _actionflow |
---|
nopanel | true |
---|
|
Settings:- Adding via an event handler
- click
- Event Type select an event type
- Action Method select Actionflow
- Actionflow, click
Image Added
- Adding via an action directly
- Action Method select Actionflow
- Actionflow, click .
Image Added
- Quick add for buttons
- Right click on a button and select Add actionflow
Image Added
- PhixFlow opens the actionflow canvas.
- Drag actions from the toolbar onto the central canvas
- Wire the actionflow and connect
- instance inputs
- action nodes
- instance outputs (optional)
For more detail on actionflow nodes and wiring,
see below
HTML Comment |
---|
|
Options to create an actionflow not available in 9.0 To create an actionflow: - with a button as the input connection, in a screen, right-click on any button
|
(anything else?) dashboard - screen and select Add Actionflow.
- initially unconnected to a component, in the repository browser expand Actionflows and click . You can wire the action to a button
|
(or something else) - add relevant linkhtmlcomment |
Wiring Actions
Wire each node from the output to the input connection points
Mapping Connection Points
Input Connection (available data or user action) map onto the Connection Point in order to pass data to the Actionflow.
- Drag the Input Connection's "Output Connector" Image Removed onto the required Connection Point.
- The mapping window opens.
- Drag the attributes from the Input Connection (Left) onto the Connection Point (Right)
- Ensure the type of data is the same i.e. we cannot map a text field onto a date field as they are not compatible.
- Create Target Attributes (Optional): drag an attribute on the left to the white space on the right, this will automatically create an attribute of the same name and type.
- Confirm the mapping. Now the "Output Connector" will be blue to indicate it has been mapped Image Removed.
- Repeat these steps for any additional mappings required.
Image Removed
Not sure if we just add the mapping into here?Data flows through the Actionflow sequentially |
one stream-item Click on the one record at a time. When a lookup is performed the entire data set is read and processed. - Connect Inputs to Input Connection Points
- Create new Input Connection Points
|
Drag inputs into the white space below the input connection points to create a new one.- Provide a name.
- Complete the mappings and confirm.
- Image Added
- Click
|
to create new connection points- Provide a name for the connection point.
- Select driving or lookup.
- Click Create Connection Point
- Select input
- Click Connect Input.
- Map attributes - see Mapping section below.
|
Drag Inputs onto the new Input Connecting Point.complete mappings and confirm
- Connect inputs to existing Input Connection Points
Image Added
- Click Connect
- Select input
- Click Connect Input.
- Map attributes - see Mapping section below.
- Add Action Nodes
- Click and hold on the desired Action Node, now drag this onto the canvas area.
Image Added
- Click and hold on the Input Connection, when release a set of action nodes is displayed, select the desired option.
- This process also works from existing Action Nodes.
Image Added
- Connecting
- From
|
Input Connection Image Removed Insert excerpt |
---|
| _driving_interface_connection_point |
---|
| _driving_interface_connection_point |
---|
nopanel | true |
---|
| : Click and hold on the input Connection, move the mouse over the desired node and select
|
the input connection pointImage Removed.check - - the
Insert excerpt |
---|
| _driving_input_connection_point |
---|
| _driving_input_connection_point |
---|
nopanel | true |
---|
| . Image Added
- You will only be prompted to select an input
|
connections - connection if there is more than one input connection point e.g. a dashboard or the connection point is already connected.
|
Acton Click and hold on the Output Connection Point Image Removedof the Action Node, move - Hover the mouse over the action node and select the correct
Insert excerpt |
---|
| _driving_output_connection_point |
---|
| _driving_output_connection_point |
---|
nopanel | true |
---|
| . Move the mouse over the
|
input connection Image Removedof the release the mouse- select the
Insert excerpt |
---|
| _driving_input_connection_point |
---|
| _driving_input_connection_point |
---|
nopanel | true |
---|
| .
- Mapping, once a connection is made a mapping screen will open automatically. As described above click and drag the attributes on the left to create a mapping:
- On to an attribute on the right.
- Into the blank space to create an attribute and mapping automatically.
- Configuring the nodes as described in the nodes section above.
- Repeat the above steps to create you desired configuration.
Running an ActionflowActionflows run from |
by Image Removed
Image Removed
Image Removed
being: - attached to an event such as a Button, a Double Click event on a grid item or any event attached to an item. link to events
|
check - started by a task plan.- ran directly from the repository - cannot do this yet.
- ran as an Action Task on a Task plan
|
Child pages (Children Display) |
---|
style | h3