Currently in draft. Requires technical input from Eleanor and context input from Skevi.
This page is for application designers who want to configure actions.
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 SIA for a stream, use the action attribute properties to add an expression that affects what an action does when applied to this specific stream's attribute.
- Create a Micro-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 action attribute property tab.
Action Attribute Properties
This property tab is not available from the repository. It only opens from the Micro-Action 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 action attributes are evaluated. |
Attribute | Enter the name of the stream attribute that will be populated. |
Expression | Enter an Expression to generate the 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 message functions in the expression. When the action runs, any messages are written to the system console and logs.
|