Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Next »

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

Overview

A calculate action is used to manipulate data that is passed to it. Calculate actions have their own attributes which can reference incoming data via expressions using one or more of the 115+ functions available in PhixFlow.

 Properties Tab

Parent Details

If this item is within or belongs to another, it's parent name is shown here. See the Common Properties page, Parent Details section for more details.

Basic Settings

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

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

 Tick to display this node in the repository.

 Untick to omit this node from the repository.

Pass through

Pass data through to subsequent action nodes.

Input Connection Points

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

  • one  Driving input connection point
  • multiple  Lookup input connection point's

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  Add New 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  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 calculates  Driving output connection point expressions using the syntax

connectionpointname.attributename

Calculate Action Expressions

Calculate actions process data using expressions; see pages in the topic Expressions and Scripts.

This section has a toolbar with standard buttonsThe grid contains a list of the expressions that the calculate action will perform. 

  • To add a new expression, in the section toolbar click  Add New to open a new expression and set the properties.
  • To edit an existing expression, double-click it in the list to open its properties.
  • To remove an expression, select one and in the section toolbar click  Permanently Delete.

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

Field

Description
NameEnter the name of the calculate attribute.
Type

Select one of the data types:

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

Make sure you select the correct data type. Data types must match attributes that are they are being mapped to. 

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.
Expression

Enter an expression. To work in a larger pop-up window, click .

See also:

Description

We recommend that you always enter a description to explain the purpose of this item.

 Audit Tab

Audit Summary

See the Common Properties page, Audit Summary section.

  • No labels