Versions Compared

Key

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

Insert excerpt
_Banners
_Banners
nameactionflow
nopaneltrue


This page provides details of the properties for the 

Insert excerpt
_action_analysis
_action_analysis
nopaneltrue
action node and associated expressions. These are part of actionflows.

Overview

Use a 

Insert excerpt
_action_analysis
_action_analysis
nopaneltrue
node in an actionflow to run analysis on streams tables as if they are analysis models. For more information about running tables, see Analysis Models for Batch Processing Data.

Live Search
spaceKey@self
additionalnone
placeholderSearch all help pages
typepage

Panel
borderColor#00374F
titleColorwhite
titleBGColor#00374F
borderStylesolid
titleSections on this page

Table of Contents
maxLevel3
indent12px
stylenone


Example

TBCIn a weather app a user can search for the weather data for any location using a form field and actionflow. Image Added

The actionflow is set up as below:

Image Added

Each time the action is run a ForecastID is generated using a sequence in the calculate node. This is saved in the tables that are being run in the subsequent analysis node and is referenced using '_context.ForecastID'. The location that is provided by the user is also used in the tables in the analysis node using '_context.Location'. This value is sent in an API call using http collectors connected to a http datasource. The below analysis model is run as a result.

Image Added

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
namebasic-h
nopaneltrue

Insert excerpt
_parent
_parent
nopaneltrue

Basic Settings

FieldDescription
NameEnter the name for the action node.
Insert excerpt
_actionflow_properties
_actionflow_properties
nameshow-name
nopaneltrue

Insert excerpt
_actionflow_properties
_actionflow_properties
nameshow-text
nopaneltrue

Streams

This section has a toolbar with standard buttonsThe grid contains a list of streams. 

  • To add a stream, in the section toolbar click 
    Insert excerpt
    _table_list
    _table_list
    nopaneltrue
     to open a repository tab filtered to show streams by application. Drag a stream from the list into the grid.
  • To remove a table, select one and in the section toolbar click 
    Insert excerpt
    _delete
    _delete
    nopaneltrue
    .

Insert excerpt
_description
_description
nopaneltrue

Insert excerpt
_property_tabs
_property_tabs
nameaccess-h
nopaneltrue

Insert excerpt
_access
_access
nopaneltrue

Insert excerpt
_audit
_audit
nopaneltrue