Skip Ribbon Commands
Skip to main content
SharePoint

Updating All the Records in the Database Table

To update all records in the database table, complete the following steps: 
  1. Check out and open the process you want to edit.

  2. In the Toolbox pane, click Database. A list of activities is displayed.

  3. Double-click or drag the Update Database Records activity into the process.

  4. Link the activity appropriately with other activities.

  5. Right-click the Retrieve Database Records activity, a shortcut menu is displayed,

  6. Select View Properties. The Retrieve Database Records window is displayed.

  7. Click the Database and Table tab. The Database and Table to Retrieve Records from section is displayed.

  8. In the Database field, click the System Resource icon. A drop-down list is displayed.

  9. Select the relevant ODBC System Resource. The selected resource is displayed in the field.

    Note:
    If your system resource contains a data item in the connection string property, click Configuration Values and enter a valid connection string for design-time, configuration purposes.


  10. In the Table field, click the Table icon. A drop-down list is displayed.

  11. Select the relevant database table. The selected table’s name is displayed in the field.

  12. Right-click the Update Database Records activity, a shortcut menu is displayed,

  13. Select View Properties. The Update Database Records window is displayed.

  14. Click the Update Criteria tab. The Update Criteria options are displayed.

    Note:
    By default, the Update all records in the database table option is selected.


  15. Click the Data Mappings: Update Records tab. The corresponding screen is displayed.

  16. Select either the automatic or manual option for mapping values to table columns.

    Note:
    For details on automatic and manual mapping options, see the corresponding topics in this section.


  17. Click OK. You configured the activity to update all records in the database table.
Related Topics
Updating Records that Meet Specific Criteria
Automatically Determining which Columns to Update with Data Item Values
Manually Determining which Columns to Update with Data Item Values, Expression Results, or Literal Values
Rolling Back and Undoing Updates to Records when an Error Occurs

Source
BPM Designer Topics > Overview of Activities and Activity Topics > Database Activities > Update Database Records
Last modified at 7/31/2020 12:05 PM