Skip Ribbon Commands
Skip to main content
SharePoint

Writing a New Record to a Database Table

To write a new record 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.

    Note:
    You can also open or view the activity properties by double-clicking the activity in the process.


  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.

    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, 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. Click the Data Mappings: Create Records tab. The corresponding screen is displayed.

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

  13. Click OK. You configured the activity to write a new record to a database table.

Related Topics
Writing Multiple Records 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:08 PM