Use Set data list in a form action to save values to a data list. For example, a button on a maintenance form can find an equipment record by its asset ID and mark its service as complete.
When to use the "Set Data List" step?
Use this step when a form event needs to write records. A list form can target its current record. A list form, approval form, or dashboard can also select a data source where the action can add a record or change matching records. For a write that runs from a workflow node, configure Set Data List in the workflow designer. Set Data List Action
How to use the "Set Data List" step?
In the designer, open Actions, select the action that runs when the user clicks the button or submits the form, then choose Add a step → Set data list.
1. Execution Conditions
Set Execution Condition if the step should run only in certain cases. For example, run the write only when the maintenance task is complete. Select Continue next step when condition is not met if the action should skip this write and continue. To select records within a separate data source, configure Condition in the Update or Delete option. Execution conditions of actions
2. The current list and Select a data list
The current list appears in list forms. It targets the record open in the form. Open Field Settings, select the fields to set, then assign fixed values or use the expression editor to read values from the form, context, or temporary variables.
Select a data list opens a selector for the application and data source. The data source can be a data list or document library. Check the available fields and operations after selecting it. For file routing by folder path in a workflow, use the dedicated workflow guide. Add files to a folder in a workflow
If a button should open a form for someone to review or edit a record, use Open item form. To set a value for use in a later action step, use Set variables. Open item form step · Set variables step
3. Execute Type Selection
When you select a separate data source, choose the operation under Execute type.
Add creates a new record. In Field Settings, select the fields to populate and assign their values.
Update applies the values in Field Settings to every record that matches Condition. To update one record, match its record ID or another unique value.
Delete removes every record that matches Condition. Start with a disposable record and filter by its unique ID.
An empty Condition can update or delete every record in the selected list. Before running either operation, try the same data source and filter in Query data and check that it returns the intended records. Query data step
4. Execute Result
In a list form, use Execute result to map Return status code and Save the number of results to a variable to variables for later steps. When testing an update intended for one record, check that the result count is one, then open the target list and reopen the record to verify the saved values. Run a second test where no record matches and check that a control record is still present with its original values. For a current-list write, complete the form action as a user would, then reopen the record from its list to verify persistence. Using form actions to change field values of data lists

