The following Workflows alter data within the system
- Create record - This will create a new item in the nominated table
- Update record - This will alter the values of the record.
- Lock record - This will apply a record level lock on the item.
- Delete record - This will totally remove the record.
When creating or editing a record, the fields in the view will populate the new or existing record. Any fields in the view with the same name as a field in the table will populate that field with its data. The view field can be a calculation as well as a standard field.
If you want your workflow to set the value of a relation find, i.e. link to a particular record, there’s no need to create a calculation for it, just include the ID field for the record you want to link to in the view.
If creating a calculation is easier, you can still do that. Either create a numeric calculation which outputs the internal row ID of the record to link to, or the text of the primary value for the relation. If the latter case, the field for the primary value in the related table should be unique and marked as such in the field options.
To set a relation field to blank, add a numeric calculation with the name of the field as normal, but set it to output the value -1.
Deleting records is not reversible. Please use with caution.
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.