This page is for application designers who want to configure actions.
Overview
Record-Action Concepts
To make changes to the data in a table use a record-action. Each record-action is a single operation that can happen to a record in the table. Record-actions can create, read, update or delete a record, so are sometimes called CRUD actions. To configure PhixFlow to perform several operations to the data record-actions directly to a table. Alternatively, to configure PhixFlow to perform several operations
- in one table, add a list of record-actions to a table or to a table-action associated with the table.
- in different tables, add a list of record-actions to an action that is not associated with a specific table. The record-actions affect the different tables.
An action/table-action can potentially run any of the record-actions in its list. To decide which record-action to run, create a rule associated with each record-action. When the rule evaluates to true, the record-action runs, making a change to the data in the table. See Record-Action and Record-Action Rule properties.
When you are creating a stream-item-action for a table, use this property tab to add an expression that evaluates to the new value for that table 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.
Properties
This property tab is not available from the repository. It only opens from the Record-actions properties.
For information about the properties toolbar, and about the sections Parent Details, Analysis Models, Description and Audit Summary, see Common Properties. We recommend you always add a Description that explains the purpose of the item you are creating.
For a full list of all the PhixFlow property tabs and windows, see Properties, Windows, Menus and Toolbars.
Basic Settings
Field | Description |
---|---|
Order | Enter the order in which the attribute expression will be evaluated. |
Attribute | Select the name of the table attribute that will be populated. |
Expression | Enter an Expression to generate a new attribute value. To refer to table attributes, pipes and screen zones 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 stream-item in the table. However, the error does not stop the action from updating or inserting other stream-items. |