Currently in draft. Requires technical input from Eleanor and context input from Skevi.
...
A stream item action (SIA for short?) belongs to a stream. It represents the smallest, specific operation that can happen to the data in the stream.
To create a stream item action:
- either open a stream's properties. In the Stream Item Action section, click
.Insert excerpt _add _add nopanel true - or open the repository branch for a stream. Right-click Stream Item Actions and select
.Insert excerpt _add _add nopanel true
In both cases, PhixFlow opens a new stream item action properties tab. Use the following properties to configure the stream item action.
You can configure an Action by adding several stream item actions from different streams. In the action you also specify the conditions or rules under which the stream item action will run.
Insert excerpt _standard_settings _standard_settings nopanel true
Basic Settings
Field |
---|
Description |
---|
Name |
Enter the name of the stream item action. | |
Stream Item Action |
Select the type of operation:
The remaining options available in Basic Settings depend on the type of operation you select.
| |||
Copy Values by Name |
Insert
UpdateIs the following true?This option is only available where Stream Item Action is Insert or Update. This will only apply to records which have a corresponding record on the form.
If there is a form. And it includes attributes and some of those attributes are not listed in the properties grid "Attributes to update" below will take their new values from the current form.. | ||||||||||||||||
Attributes to Update |
This option is only available where Stream Item Action is Insert. This section has a toolbar with standard buttons and The grid contains a list of attributes on which the stream item action will operate. If the grid is empty, the stream item action will operate on all attributes in the stream. To add stream attributes to the grid, in the toolbar, click
To create a new attribute, click
The grid displays information from the action attribute:
To remove an attribute from the grid, use the
| ||||||||||||||||||||||||||||||||
Filter Type |
Delete
UpdateThis option is only available where Stream Item Action is Delete or Update. Select an option from the drop-down list |
. The action will only apply to the records that:
|
|
|
|
|
|
|
| |
Condition | This option is only available |
where Stream Item Action is Insert or Update and Filter Type |
is 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 filter. | |
Copy Values By Name | This option is only available |
where Stream Item Action |
is Insert or Update. If this flag is ticked, all Stream Item Attributes which are not present on the Action Attributes list below will take their new values from the current form. This will only apply to records which have a corresponding record on the form. |
Target View |
Delete
UpdateThis option is only available where Stream Item Action is Delete or Update. If specified, changes the view the action applies to (gets records from if selected Filter Type = Selected Items, Edited Items or View Filter). |
Maximum Items Expr. |
Delete
UpdateThis option is only available where Stream Item Action is Delete or Update. Enter an expression that evaluates to a number??. The number limits how many records or cells ?? that this action can affect. |
Minimum Items Expr. |
Delete
UpdateThis option is only available where Stream Item Action is Delete or Update. Enter an expression that evaluates to a number??. The number specifies the minimum number of records or cells ?? that this action can affect. |
Data Sources
Not sure what this is for. A data source itself is just a name.
This section has a toolbar with standard buttons and
. Insert excerpt _user_group _user_group nopanel true
Optionally create data sources that affect this stream item action how ??.
...