This page explains how to set the properties for stream item action rules.
Stream item action rules connect data records (items) in a stream with an action.
This property tab is not available from the repository. It opens from an action properties → Stream Item Action Rules section.
Also see stream item action - where the knuts and bolts of what the stream item action is set
Basic settings
stream item action type
Stop if true
Expression
Order
Currently in draft. Requires technical input from Eleanor and context input from Skevi.
This page is for application designers who need to configure when a specific operation will change data in the stream.
Action Concepts
A stream has a set of Stream Item Actions (SIA). These represent the smallest, specific operation that can happen to the data in the stream.
You can configure one action to run on the data in different streams. This is because the action contains:
- a list of stream item actions (SIA) from different streams. The action can potentially run any of these SIA.
- with each SIA, is the rule that specifies the conditions for that SIA to be run.
To use a SIA in an action:
- Open the Action properties.
- In the toolbar of the Stream Item Action Rules section:
- either click
to create a new SIA rule.Insert excerpt _add _add nopanel true - or click
to open a repository list of streams.Insert excerpt _action_SIA _action_SIA nopanel true
Expand the branch for the stream, then drag its SIA into the action properties → Stream Item Action Rules grid.
Double-click on a SIA rule in the grid to open its properties.
- either click
Properties
If you add or open a SIA rule, PhixFlow opens its properties tab. Use the following properties to configure the conditions or rules under which the SIA will run.
This properties tab is not available from the repository. It only opens from the Action properties.
Insert excerpt _standard_settings _standard_settings nopanel true
Basic Settings
Field | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Stream Item Action | Select from a drop down of all of them, or drag one in from the repository - easier to find SIAs for a specific stream The name of the stream item action (SIA) To add or change the name do one of the following:
| ||||||||||||||||
Stop if True | If the following expression is true, stop the SIA from running.?? | ||||||||||||||||
Expression | Enter an expression. Details?? | ||||||||||||||||
Order | Specify the order in which this SIA is listed in the action properties → Stream Item Action Rules grid. Order is important because, when evaluating the SIA rule expression, PhixFlow starts with the first SIA in the list. It will run the first SIA that it finds for which the expression evaluates to true. Subsequent SIA will not be evaluated or run. |