Currently in draft. Requires technical input from Eleanor and context input from Skevi.This page is for application designers who need to configure specific operations that will change data in the stream.
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Creating a Stream Item Action
To create a stream item action:
- either open a stream's properties. In the Stream Item Action ??Change 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.
Stream Item Action Properties
Use the following properties to configure the stream item action.
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.
| ||||||||||||||||||||||||||||||||
Attributes to Update | This option is only available where Stream Item Action is Insert or Update. 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 | This 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:
| ||||||||||||||||||||||||||||||||
Target View | This option is only available where Stream Item Action is Delete or Update. Enter a stream view name. Where Filter Type is one of Selected Items, Edited Items or View Filter Filter, PhixFlow takes the records will be taken from the named view, not the view from which the action was initiated. The user may have started the action on a different view. | ||||||||||||||||||||||||||||||||
Condition | This option is only available where Stream Item Action is Delete or Update and Filter Type is Action Filter. Create a filter to specify the records to which the action applies. Expressions in this filter can refer items on the view or dashboard from which this action was initiated, for example:
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. Specify what to do if the dashboard from which the action was initiated includes more attributes than those listed in the properties grid Attributes to Update.
PhixFlow looks for a form field or stream view attribute with the same name as the attribute. If it finds a match, PhixFlow updates the attribute will be updated to the value of the form field or stream view attribute with the same name as the stream attribute. If there is no match it will not be updatedPhixFlow does not find a match, it does not update the attribute value. | ||||||||||||||||||||||||||||||||
Maximum Items Expr. | This 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 that records (items) this action can affect. If this action is applied applies to more than this the maximum number of items, PhixFlow updates only the specified number of items will be updated and ignores the rest will be ignored. Items are ordered as . Phixflow reads records in the order they are listed in the stream view from which the items are selected from. | ||||||||||||||||||||||||||||||||
Minimum Items Expr. | This 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 that the action must be applied to for this action to run. If fewer than this number of items the action will return an error and will not run. |
ACTION WORKFLOWS
Data Sources
Not sure what this is for. A data source itself is just a name. This is for the new workflows.
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 ??.
...