Skip Ribbon Commands
Skip to main content
SharePoint

Writing Multiple Records to a Database Table

To write multiple records to a 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 Create Database Records activity into the process.

  4. Link the activity appropriately with other activities.

  5. Right-click the Create Database Records activity. A shortcut menu is displayed.

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

  7. Click the Database and Table tab. The Database and Table to Add New Records To section is displayed.

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

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

  10. In the Table field, select an editor and set the field to the name of the table in which you want to write a new record.

    Note:
    The default editor is the Table Selector Editor. This editor will display a list of tables available in the database.


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

  12. Click the Data Mappings: Create Records tab. The corresponding screen is displayed.

  13. Select the Select Collection Data Item for Mapping check box.

  14. Click the Data Item editor icon. A drop-down list is displayed.

  15. Select the relevant collection data item. The selected collection data item is displayed in the field.
      
    Note:
    Data item calculations are read-only. You cannot edit these types of data items.

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

  17. Click OK. You configured the activity to write multiple records to a database table.
Related Topics
Writing a New Record to a Database Table
Rolling Back and Removing New Records when an Error Occurs
Saving the Identity of a New Database Record to a Data Item
Automatically Determining which Columns to Populate with Data Item Values
Manually Detemining which Columns to Populate with Data Item Values, Expression Results, or Literal Values

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