Versions Compared

Key

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

This page provides details of the properties for the calculate action node and associated expressions. These are part of actionflows.

Overview

A calculate action... Todo-Fionagateway node controls the route that stream-items take as they flow through an actionflow. Decision logic can be specified on the output connection points to determine the path of each stream-item on a record by record basis.

Insert excerpt
_property_tabs
_property_tabs
namebasic-h
nopaneltrue

...

FieldDescription
NameEnter the name for the action node.
Show in the Explorer

An application can have many actionflows, and an individual actionflow can have many actions. This can lead to many items being listed in the repository. Use this option to omit the action from the repository.

Insert excerpt
_check_box_tick
_check_box_tick
nopaneltrue
 to display this action node in the repository.

Insert excerpt
_check_box_untick
_check_box_untick
nopaneltrue
 to omit this action node from the repository.

Pass Through

Pass data through to subsequent action nodes.

Input Connection Points]

Todo-Fiona - duplicate from elsewhere

Calculate Action Expressions

...

Exclusive

Used to control if a stream-item can flow through more than one option.

Insert excerpt
_check_box_tick
_check_box_tick
nopaneltrue
 the stream-item flows out the first connection point where the condition is met.

Insert excerpt
_check_box_untick
_check_box_untick
nopaneltrue
 the stream-items will flow out of any connection point where the condition is met.

Input Connection Points

Shows a list of available input connection points. Gateway nodes can have

  • One 
    Insert excerpt
    _driving_input_connection_point
    _driving_input_connection_point
    nopaneltrue
  • Multiple 
    Insert excerpt
    _request_input_connection_point
    _request_input_connection_point
    nopaneltrue

This section has a toolbar with standard buttonsThe grid contains a list of all input connection points and their type.

  • To add a new input connection point, in the section toolbar click 
    Insert excerpt
    _add
    _add
    nopaneltrue
     to open a new input connection point and set its properties.
  • To edit an existing input connection point, double-click it in the list to open its properties.
  • To remove an input connection point, select one and in the section toolbar click Image Added Permanently Delete

The input connection points have sections for  Parent Details , Audit Summary and the following 

Basic Settings:

FieldDescription
NameThe name of the connection point
Type

Driving

Requested

Attributes:

A list of attributes available to map to from other action nodes. These attributes can be referenced in the gateways

Insert excerpt
_driving_output_connection_point
_driving_output_connection_point
nopaneltrue
 expressions using the syntax

Code Block
connectionpointname.attributename

Output Connection Points

Output connection points process data using expressions; see pages in the topic Expressions and Scripts.

The only valid output connection points for a gateway node are 

Insert excerpt
_driving_output_connection_point
_driving_output_connection_point
nopaneltrue
's. Gateways can have an unlimited number of output connection points.

Stream-items will only pass through the output connection points if the condition set in the expression is met.

Note

Remember to check if if the gateway has been marked as Exclusive. Records will only pass through the first output connection point where the condition is met if the gateway is exclusive.

This section has a toolbar with standard buttonsThe grid contains a list of the expressions that the calculate action will performoutput connection points and their expressions

  • To add a new expressionoutput connection point, in the section toolbar click 
    Insert excerpt
    _add
    _add
    nopaneltrue
     to open a new expression output connection point and set the propertiesexpression.
  • To edit an existing expressionoutput connection point, double-click it in the list to open its properties.
  • To remove an expressionoutput connection point, select one and in the section toolbar click  Permanently Delete. Todo-Fiona - check icon and label.

The expression properties has sections for Parent Details , Audit Summary and the following Basic Settings:

Select one of the data types: Todo-Fiona - what does this do?

  • String
  • Bigstring
  • Integer
  • Float
  • Decimal
  • Date
  • Datetime

    Field

    Description
    NameEnter an expression name.Type
  • Graphic
  • TrueFalse
  • An attribute nameTodo-Fiona - what does this do?
    Expression

    Enter an expression which evaluates to true or false to determine if stream-items will pass through this connection point. To work in a larger pop-up window, click .

    See also:

    OrderWhere the calculate action runs multiple expressions, enter a number to indicate the order in which this expression will be run. Remember that an expression that generates a value should run before an expression that uses the value. The order is especially important if the gateway is marked as exclusive.

    Insert excerpt
    _description
    _description
    nopaneltrue

    ...