Configuring and using Actions in Views (action flows, augmented attributes, emails)
With the new Studio experience, you can now configure and use View actions such as sending emails, running action flows from within a View, and updating augmented attributes. These actions can be configured within a table component, allowing app users to select cells and then either send an email using that data or click to start an action flow / automated process running based on it.
In this example, both a send email and an action flow have been configured for this table:
With email actions, a user can select cells from a table and then use their default email programme (which we refer to as 'mailto') to send an email containing data from those sells. This may require users to enable pop-ups in their browser for their default email programme or to correctly assign their default email programme for their operating system.
To configure an email action from a table within your View:
Either select an existing table or drag and drop a table from the component menu.
With the table settings open, expand the Interactions section and click Add Action.
Select Send Email and the email configuration wizard opens.
Select Mailto as your delivery method, optionally provide an email template, and then personalize your action button.
Email template: When creating an email template, you can insert dynamic placeholders into the body text.
There is a 1:1 relationship between selections in the table and an email - placeholders can only be filled for one selection (row of data). If you make multiple selections, multiple distinct drafts would open.
Click Done.
The send email action has now been configured.
You can edit this action at any time by returning to the table settings and clicking the Edit button:
To create an Action Flow action, the package has to contain at least one active Action Flow scheduled to run “On demand". Without this prerequisite, the option is grayed out in your table settings.
To configure an action flow action in a table:
Either select an existing table or drag and drop a table from the component menu.
With the table settings open, expand the Interactions section and click Add Action.
Select Run Action Flow and the action flow configuration wizard opens.
Select an existing Action Flow, configure any available inputs, and then personalize the Action button.
Click Done.
The send email action has now been configured.
You can edit this Action at any time by returning to the table settings and clicking the Edit button.
Using table actions, you can update augmented attributes when interacting with them in a published View. With the attributed selected, a customizable button appears above the table, allowing you to update values in real-time.
Augmented attributes are a Knowledge Model asset that can be updated in real-time and without the data model reloading. For more information, see: Augmented attributes
To configure an action that let's you update an augmented attribute while viewing a table containing that attribute:
Either select an existing table or drag and drop a table from the component menu.
With the table settings open, expand the Interactions section and click Add Action.
Select Update Augmented Attribute and the action flow configuration wizard opens.
Select the augmented attributes you want to update from those available and then personalize the action button.
Click Done.
The update augmented attribute button has now been configured.
You can edit this Action at any time by returning to the table settings and clicking the Edit button.
Note
You can create action flows that you can trigger manually from a button in the UI.