This page is for application designers who need to configure functionality for components or events. It explains the properties for the calculate node and associated expressions, which is part of an actionflow.
Overview
Use a Calculate node to manipulate data that is passed to it. Calculate nodes have their own attributes, which can reference incoming data via expressions using one or more of the 115+ functionsavailable in PhixFlow.
For information about the toolbar options, see the Common Properties page, Toolbars and Controls section.
Parent Details
If this item is within or belongs to another, its parent name is shown here. See the Parent Details section on the Common Properties page for more details.
Basic Settings
Field
Description
Name
Enter the name for the action node.
Description
We recommend that you always enter a description to explain the purpose of this item.
The 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 Delete.
To reorder an attribute, drag and drop the attribute into the desired position. Alternatively, double-click to open its properties and update the Order field.
Click Add New. PhixFlow opens the properties for a new calculate attribute.
Create New Output Attribute
Field
Description
Name
Enter the name of the calculate attribute.
Type
Select one of the data types:
String
Bigstring
Integer
Float
Decimal
Date
Datetime
Graphic
TrueFalse
Structured Data
Make sure you select the same data type as that of the attribute to which you are mapping; see Understanding Data Types.
Order
Where 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 must run before any expression that uses the value.
Expression
Enter an expression. To work in a larger popup window, click Show field in a large editor.