Skip to main content

This content has been archived and is no longer being updated.

Links may not function; however, this content may be relevant to outdated versions of the product.

Data flow run returns errors while writing records to a database data set

Suggest edit Updated on September 10, 2021

The data flow run fails with an error while results are being written in a database data set.

Cause

There was a problem with processing input records. The solution below helps you narrow down the number of possible root causes of the problem by analyzing the stack trace and the problematic records. 

Solution

Perform the following actions to find the root cause and eliminate errors while processing input records:

  • Analyze the stack trace that contains the error. For more information, see Tips for troubleshooting data flow rules.
  • Save the object that causes the error to a database by calling the Obj-Save method from an activity. Investigate any errors that are encountered as a result of the activity processing. If this activity is processed without any errors, it might point to a system issue that is independent of the Pega 7 Platform. For more information, see Obj-Save method.
    To process multiple records, you can use the default commit method to accumulate the records and process them all at once.
  • Previous topic Data flow run does not progress beyond Pending-Start or Pending-Activation stage
  • Next topic Data flow runs stop on the Stream service nodes
Did you find this content helpful? YesNo

100% found this useful

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us