Modify RecordsIn the previous topic, Fetch Records we learnt how to retrieve the form data and store it in a form variable. This form variable, also called collection variable, contains the retrieved form data. You can now modify the retrieved data by accessing the required field values through the form variable.
In the following example, the on add -> on success script is written to fetch specific records from the Book form with Name same as the currently submitted book name. The record fetched is stored in the collection variable named myBook. You can now access any field in this record, from the myBook variable and update the value. Here, we have updated the Status field with value as "Issued".
Tips & Tricks -> Fetch and Update Records
|