provides details of is for application designers who need to configure functionality for components or events. It explains the properties for the |
gateway nodegateway node, which is part of an actionflow. OverviewImage Modified Use a Insert excerpt |
---|
| _action_gateway |
---|
| _action_gateway |
---|
nopanel | true |
---|
| node to control the path that data records take as they flow through an actionflow. You can add several output connection points. On the output connection points, you can specify decision logic to control the path of data, record by record. |
Example
Sometimes there is a threshold in your data that affects the way you want to process it. For example you might want someone to approve orders over £1000, whereas orders below this value can be placed without approval.
In the screenshot below, an application screen lists the orders pending approval.
Image Removed
The actionflow for this requires a gateway node to capture orders with a value of £1000 or more so that it can send these to the person authorised to approve them. todo-sarah Provide screenshot and more details once confirmation and phases have been implemented
For a worked example, see Gateway Action Configuration. Insert excerpt |
---|
| _property_toolbar |
---|
| _property_toolbar |
---|
nopanel | true |
---|
|
Insert excerpt |
---|
| _property_tabs |
---|
| _property_tabs |
---|
name | basic-h |
---|
nopanel | true |
---|
|
Insert excerpt |
---|
| _parent |
---|
| _parent |
---|
nopanel | true |
---|
|
Basic SettingsField | Description |
---|
Name | Enter the name |
|
for excerpt-include_actionflow_properties | _actionflow_properties | name | show-name |
---|
nopanel | true |
---|
Insert excerpt |
---|
_actionflow_properties | _actionflow_properties | name | show-text |
---|
nopanel | true |
---|
Exclusive | Control whether or not a record can go through more than one output. Exclusive Gateway (Single path) |
|
checkbox_tickcheckbox_tick to make a record go through the first connection point where the condition is met. Exclusive gateways include the visual indicator of their setup: Image AddedInclusive Gateway (Multiple Paths) |
|
checkbox_untickcheckbox_untick through any point points where the condition is met. |
|
This section has a toolbar with standard buttons. The grid contains a list of all input connection points and their type; see Inclusive gateways include the visual indicator of their setup: Image Added | Description | We recommend that you always enter a description to explain the purpose of this item. |
RulesField | Description |
---|
Rule | The expression to be evaluated. If the condition is met, the record will go through the connection point or points (depending on if the gateway is exclusive or inclusive, see above). | Output | The name of the output connection point. | Order | The order the rules should be evaluated in. |
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 |
---|
|
|
'sThe 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; see Input Connection Points.
- 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
Insert excerpt |
---|
| _delete |
---|
| _delete |
---|
nopanel | true |
---|
| .
|
For input connection point properties, see Input Connection Points.
Output Connection Points
This section has a toolbar with standard buttons. The grid contains a list of all output connection points.
This section has a toolbar with standard buttons. The grid contains a list of output connection points and their expressions.
To add a new output path, in the section toolbar click Insert excerpt |
---|
_add | _add | nopanel | true |
to open a new output path and set the expression.To edit an existing output path, double-click it in the list to open its properties.To remove an output path, select one and in the section toolbar click Image Removed Permanently Delete. see Output Connection Points
Each output connection point has an expression that specifies the logic to control whether or not records flow to the next action node.
For driving output connections, you can refer to an attribute in the expression using the syntax:
Code Block |
---|
connectionpointname.attributename |
If the expression evaluates to true for the record flowing through the node, it will pass out that connection point onto the next node in the sequence. This can be dependent on if the gateway is marked as exclusive, see below.
Gateways can have an unlimited number of output paths.Output paths process data using expressions; see pages in the topic Expressions and PhixScripts.records will only pass through the output paths if the condition set in the expression is met.
This section has a toolbar with standard buttons. The grid contains a list of output connection points and their expressions.
To add a new output path, in the section toolbar click Insert excerpt |
---|
_add | _add | nopanel | true |
to open a new output path and set the expression.To edit an existing output path, double-click it in the list to open its properties.To remove an output path, select one and in the section toolbar click Image Removed Permanently Delete. The expression properties has sections for Parent Details , Audit Summary and the following Basic Settings:
Field | Description |
---|
Name | Enter an expression name. |
Order | Where the gateway action runs and expression for each output path, 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. |
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 Image Removed. See also: |
Insert excerpt |
---|
_description | _description | nopanel | true |
---|
Insert excerpt |
---|
_property_tabs | _property_tabs | name | access-h |
---|
nopanel | true |
---|
Insert excerpt |
---|
_access | _accessAdvancedField | Description |
---|
Prioritise Throughput Over Ordering | Insert excerpt |
---|
| Actionflow Properties |
---|
| Actionflow Properties |
---|
name | PrioritiseThroughputOverOrdering |
---|
nopanel | true |
---|
|
|
|