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
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Creating a Stream Item Action Rule
To use a stream item action in an action and to add a rule for it:
- Open the Action properties.
- In the toolbar of the Stream Item Action Rules section section:
- either click
to create a new SIA new stream item action 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 its stream item action into the action properties → Stream Item Action RulesRules grid.
Double-click on a SIA rule in row of the grid to open its the stream item action rule properties.
- either click
Stream Item Action Rule 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 the stream item action 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 | The name of the stream item action (SIA). To add or change the name, do one of the following:
| ||||||||||||||||
Stop if True | Enter an expression. If the followingexpression is true, stop the SIA from running.??evaluates to true, PhixFlow runs this action. However, it does not:
| ||||||||||||||||
Expression | Enter an expression. Details??If the expression is empty or evaluates to true, PhixFlow runs this action. To prevent an action from running in specific conditions, enter an expression that evaluates to false.
| ||||||||||||||||
Order | Specify the order in which this SIA this stream item action is listed in the action properties →Stream Item Action RulesRules 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 PhixFlow evaluates the stream item action in order and runs those that evaluate to true in order. |