mention here: Prioritise Throughput Over Ordering
What is
an Actionflow?An Actionan Analysis Action?
Image Added
An Insert excerpt |
---|
| _run_analysis_icon |
---|
| _run_analysis_icon |
---|
nopanel | true |
---|
|
Analysis Action runs analysis on tables. For more information about running tables, see Analysis Models for Batch Processing Data.
Note |
---|
Analysis actions only allow transactional tables to be included to ensure correct model operation. |
Example
In a weather application, a user can search for the weather data for any location using a form field connected to an actionflow. Image Added
The actionflow is set up as follows:
Image Added
Each time the application user runs the action, the calculate node selects a number from a sequence to add the ForecastID identifier. When the subsequent analysis node runs, it saves the ForecastID to the tables that are being run.
The expressions in the tables can reference:
- the ForecastID identifier.
'_context.ForecastID'
- The location provided by the user '_context.Location'.
The location value is sent in an API call using HTTP collectors connected to a HTTP datasource, as shown in the following analysis model:
Image Added
Using Context Parameters
Tables that are being run may rely on context parameters in their attribute expressions. Adding attributes with the same name as the context parameters to the analysis node will work in the same way. For example, if a table relies on the expression '_context.Name'
, an attribute called 'Name'
can be added to the analysis node. The value for this can then be mapped to this attribute from any preceding connection.
Insert excerpt |
---|
| _property_tabs |
---|
| _property_tabs |
---|
name | basic-h |
---|
nopanel | true |
---|
|
Insert excerpt |
---|
| _parent |
---|
| _parent |
---|
nopanel | true |
---|
|
Basic Settings
Field | Description |
---|
Name | Enter the name for the analysis node. |
Description | We recommend that you always enter a description to explain the purpose of this item. |
Tables
This section has a toolbar with standard buttons. The grid contains a list of tables.
- To add a table, in the section toolbar click
Insert excerpt |
---|
| _table_list |
---|
| _table_list |
---|
nopanel | true |
---|
|
to open a repository tab filtered to show tables by application. Drag a table from the list into the grid. - To remove a table, select one and in the section toolbar click
Insert excerpt |
---|
| _delete |
---|
| _delete |
---|
nopanel | true |
---|
|
.
Advanced
Field | Description |
---|
Prioritise Throughput Over Ordering | Insert excerpt |
---|
| Actionflow Properties |
---|
| Actionflow Properties |
---|
name | PrioritiseThroughputOverOrdering |
---|
nopanel | true |
---|
|
|
Insert excerpt |
---|
| _property_tabs |
---|
| _property_tabs |
---|
name | access-h |
---|
nopanel | true |
---|
|
Insert excerpt |
---|
| _access |
---|
| _access |
---|
nopanel | true |
---|
|
HTML Comment |
---|
|
Insert excerpt |
---|
| Analysis Node |
---|
| Analysis Node |
---|
nopanel | true |
---|
|
|
1.02 Actionflow Principles