This page is for application designers who want to configure actions.
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.
When you are creating a stream item action for a stream, use this property tab to add an expression that evaluates to the new value for that stream attribute.
- Create a Stream Item Action.
- In the Basic Settings → Attributes to Update section there is a grid of attributes.
- In the grid, double-click on a attribute.
- PhixFlow opens the stream item action attribute property tab.
Stream Item Action Attribute Properties
This property tab is not available from the repository. It only opens from the Stream Item Actions 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 |
---|---|
Order | Enter the order in which the attribute expression will be evaluated. |
Attribute | Select the name of the stream attribute that will be populated. |
Expression | Enter an Expression to generate a new attribute value. To refer to stream attributes, pipes and elements in the expression, use:
Example For example:
Enter an expression: sum(ACCTS.amount) You can also use the following prefixes:
MessagesYou can use the following message functions in the expression. When the action runs, any messages are written to the system console and logs. If PhixFlow reports an error, it stops the action from being completed for the current item in the stream. However, the error does not stop the action from updating or inserting other stream items. |