Skip Ribbon Commands
Skip to main content
SharePoint

Rolling Back and Undoing Updates to Records when an Error Occurs

You can configure an activity to rollback an update made to a database when an update fails. Having the activity rollback the change automatically saves you from having to determine the record or records being updated and can safely restart the activity without affecting the records not intended for being updated.

To rollback and undo updates to records when an error occurs, complete the following steps:
  1. Check out and open the process you want to edit.

  2. Open the update database records activity in the process that you previously configured and now want to edit.

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

  4. Select the If the update of any record fails, rollback and undo all record updates check box.

  5. Click OK. You allowed the Process Engine to rollback and undo updates to records when an error occurs.
Related Topics
Updating All the Records in the Database Table
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

Source
BPM Designer Topics > Overview of Activities and Activity Topics > Database Activities > Update Database Records
Last modified at 7/31/2020 11:55 AM