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. These specify an operation that can happen to a record in the stream. Stream item actions can create, read, update or delete a record, so are called CRUD actions.
You can configure an Action to perform several operations on the data in different streams. This is because the action contains a list of stream item actions that can come from different streams.
The action can potentially run any of the actions in its list. To decide which stream item action to run, the action has a rule associated with each stream item action. When a Stream Item Action Rule evaluates to true, the action runs the action and therefore makes a change to the data in the stream.
Creating a Micro-Action Rule
To use a micro-action in an action and to add a rule for it:
- Open the Action properties.
- In the toolbar of the Stream Item Action Rules / Micro-Action section:
- either click Add to create a new micro-action rule.
- or click Stream Item Action (SIA) to open a repository list of streams.
Expand the branch for the stream, then drag its micro-action into the action properties → Stream Item Action Rules/Micro-action grid.
Double-click on row of the grid to open the micro-action rule properties.
Micro-Action Rule Properties
Use the following properties to configure the conditions or rules under which the micro-action will run.
This properties tab is not available from the repository. It only opens from the Action properties.
For information about the properties toolbar, and about the sections Parent Details, Analysis Models, Description and Audit Summary, see Common Properties. For a full list of all the PhixFlow property tabs and windows, see Property Tabs.
Basic Settings
Field | Description |
---|---|
Stream Item Action/Micro-Action | The name of the micro-action. To add or change the name, do one of the following:
|
Stop if True | If the following expression is true, stop the micro-action from running.?? |
Expression | Enter an expression. Details?? |
Order | Specify the order in which this micro-action is listed in the action properties → Stream Item Action Rules/micro-action grid. PhixFlow evaluates the micro-action in order and runs those that evaluate to true in order. |