the save node, which is part of an actionflow.
Overview
Image Modified
Use a
Insert excerpt |
---|
| _action_save |
---|
| _action_save |
---|
nopanel | true |
---|
|
action node to insert, update or delete records for a selected table. Live Search |
---|
spaceKey | @self |
---|
additional | none |
---|
placeholder | Search all help pages |
---|
type | page |
---|
|
Panel |
---|
borderColor | #00374F |
---|
titleColor | white |
---|
titleBGColor | #00374F |
---|
borderStyle | solid |
---|
title | Sections on this page |
---|
|
Table of Contents |
---|
maxLevel | 3 |
---|
indent | 12px |
---|
style | none |
---|
|
|
Example
Image Modified
In the actionflow above a user is saving values on an edit form (Company Edit Form) to a Company table. In this workflow all changes must be approved by a second colleague. All attributes on the edit form need to be saved and a Status attribute to manually set to 'Pending Approval', StatusUpdate to the current time and StatusUpdatedBy to the users name using a calculate node.
To automatically save all the attributes on the form all the user has to do is click 'Auto Save Attributes'. This automatically saves any attributes on the driving input form which link to the table on the save node. This means if any additional fields are added to the backing table and input form they do not need to be mapped to the save node.
Create Save Stream Action pop-up Window
Field | Description |
---|
Name |
|
Type | - Auto InsertUpdate
- Insert
- Update
- Delete
|
Stream | Click the show list icon and Drag and drop it in from the repository |
Allocating Primary Key Values to New Records
When the save action is inserting a new record to the table, PhixFlow allocates a unique primary key value to the record. How PhixFlow allocates a value is determined by the Table properties → Advanced → Primary Key Generator.
- Internal: By default, PhixFlow automatically allocates a unique, numeric value to the primary key attribute.
- Sequence: Configure PhixFlow to allocate a value from your own sequence using the Primary Key Generator Sequence option. see Stream > Data Generation Options and Sequence.
Insert excerpt |
---|
| _property_tabs |
---|
| _property_tabs |
---|
name | basic-h |
---|
nopanel | true |
---|
|
Insert excerpt |
---|
| _parent |
---|
| _parent |
---|
nopanel | true |
---|
|
Save requires a transactional table to be attached. Dragged in when you create it - listed in the Table property
The save node will make a change to a record in the table. Depends on the selected save Type.
For Auto Insert/Update - depends on the what is passed in through the incoming connection (todo-fiona: check this is right. original phrase was "provided with"
Basic Settings
Field | Description |
---|
Name | Enter the name for the action node. |
Insert excerpt |
---|
| _actionflow_properties |
---|
| _actionflow_properties |
---|
name | show-name |
---|
nopanel | true |
---|
|
| Insert excerpt |
---|
| _actionflow_properties |
---|
| _actionflow_properties |
---|
name | show-text |
---|
nopanel | true |
---|
|
|
Type | |