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, 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. |
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. Tick to display this action node in the repository. Untick to omit this action node from the repository. |
Pass Through | Pass data through to subsequent action nodes. |
Input Connection Points
Should we display this here? We would want a list that would display the connection point name, type (request or driving) and the ability to add request cp.
Calculate Action Expressions
Calculate actions process data using expressions; see pages in the topic Expressions and Scripts.
This section has a toolbar with standard buttons. 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 Permanently Delete. Todo-Fiona - check icon and label.
The expression properties has sections for Parent Details , Audit Summary and the following Basic Settings:
Field | Description |
---|---|
Name | Enter an expression name. |
Type | Select one of the data types:
Make sure you select the correct data type. Data types must match attributes that are they are being mapped to. |
An attribute name | The name of the attribute |
Expression | Enter an expression. To work in a larger pop-up window, click . See also: |
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 should run before an expression that uses the value. |
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.