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 | ||||||||
---|---|---|---|---|---|---|---|---|
|
...
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.
| ||||||||||||||||
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.
|
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 nopanel true - Multiple
Insert excerpt _request_input_connection_point _request_input_connection_point nopanel true
This section has a toolbar with standard buttons. The grid contains a list of all input connection points and their type.
- To add a new input connection point, in the section toolbar click
to open a new input connection point and set its properties.Insert excerpt _add _add nopanel true - 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:
Field | Description |
---|---|
Name | The 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 | ||||||
---|---|---|---|---|---|---|
|
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 | ||||||
---|---|---|---|---|---|---|
|
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 buttons. The 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
to open a new expression output connection point and set the propertiesexpression.Insert excerpt _add _add nopanel true - 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:
Field | Description | ||
---|---|---|---|
Name | Enter an expression name. | Type | |
An attribute name | Todo-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: | ||
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. The order is especially important if the gateway is marked as exclusive. |
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
...