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
This page is for application designers who need to configure when a specific operation will change data in the stream.
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:
- either click
to create a 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 stream item action into the action properties → Stream Item Action Rules grid.
Double-click on row of the grid to open the stream item action rule properties.
- either click
Stream Item Action Rule Properties
Use the following properties to configure the conditions or rules under which 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 | Select from a drop down of all of them, or drag one in from the repository - easier to find SIAs for a specific stream | ||||||||||||||||
Filter Type | Select an option from the drop-down list:
| ||||||||||||||||
Target View | If specified, changes the view the action applies to (gets records from if selected Filter Type = Selected Items, Edited Items or View Filter). | ||||||||||||||||
Condition | This is only available if you have selected Filter Type = Action Filter. Create a filter to specify the records that an Update or Delete will apply to. Any expressions on this filter can reference the Form View fields, Context Parameters and any attributes from any record selected on the view or dashboard from which this action was initiated. Configure this filter in the same way that you would a pipe filterThe name of the stream item action. To add or change the name, do one of the following:
| ||||||||||||||||
Stop if True | Enter an expression. If the expression evaluates to true, PhixFlow runs this action. However, it does not:
| ||||||||||||||||
Expression | Enter an expression. 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 stream item action is listed in the action properties → Stream Item Action Rules grid. PhixFlow evaluates the stream item action in order and runs those that evaluate to true in order. |