Versions Compared
Version | Old Version 51 | New Version 52 |
---|---|---|
Changes made by | ||
Saved on |
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Insert excerpt | ||||||||
---|---|---|---|---|---|---|---|---|
|
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.
Excerpt | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OverviewUse a
ExampleClick to play the following video that shows an example of using a calculate node in an actionflow.
The video shows an actionflow that opens a new screen containing a dynamic text field. It then populates the dynamic text field with a message, which is set in a calculate node attribute. The steps for are: Set Message Insert excerpt | | _action_screen | _action_screen | ||||||||||||||
nopanel | true | ||||||||||||||||
Insert excerpt | _driving_interface_connection_point | _driving_interface_connection_point | |||||||||||||||
nopanel | true | ||||||||||||||||
Insert excerpt | _driving_interface_connection_point | _driving_interface_connection_point | |||||||||||||||
nopanel | true | ||||||||||||||||
Insert excerpt | _action_calculate | _action_calculate | |||||||||||||||
nopanel | true |
Code Block |
---|
"You have successfully set up a calculate node" |
Right-click on the connection and click Configure Mappings.
- Drag the Message attribute from the calculate node, on the left, to the Message attribute on the open screen, on the right.
- Close the mapping screen.
Tip |
---|
After configuring an actionflow, always test the actionflow to make sure it works. |
For a worked example, see Calculate Action Configuration.
Insert excerpt | ||||||||
---|---|---|---|---|---|---|---|---|
|
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
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. |
Output Attributes
Anchor | ||||
---|---|---|---|---|
|
Calculate actions process data using expressions; see pages in the topic Expressions and PhixScripts.
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
to open a new expression and set the properties.Insert excerpt _add _add nopanel true - 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
.Insert excerpt _delete _delete nopanel true - 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
. PhixFlow opens the properties for a new calculate attribute; see Calculate Attributes Properties, below.Insert excerpt _add _add nopanel true
Create New Output Attribute
Field | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
Name | Enter the name of the calculate attribute. | ||||||||
Type | Select one of the 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
See also: |
Input Connections
This section has a toolbar with standard buttons. The grid contains a list of the connection points that connect into this calculate node.
- To add a new input connection point, in the section toolbar click
and set the properties.Insert excerpt _add _add nopanel true - To edit an existing connection point, double-click it in the list to open its properties.
- To remove a connection points, select one and in the section toolbar click
.Insert excerpt _delete _delete nopanel true
For details about the Name, Type and Data Attributes properties of the input connection point, see Input Connection Points.
Advanced
Field | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Prioritise Throughput Over Ordering |
|
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Live Search | ||||||||
---|---|---|---|---|---|---|---|---|
|
Panel | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
|
Learn More
For links to all pages in this topic, see Understanding
.