Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Data flow runs return errors while writing records to a database data set

Updated on July 5, 2022

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

  1. Analyze the stack trace that contains the error.
    For more information, see Tips for troubleshooting data flow rules.
  2. 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 Pega Platform. For more information, see Obj-Save method.
    Note: 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 runs do not progress beyond Pending-Start or Pending-Activation stage
  • Next topic Exceeded threshold for error count in real-time data flow run

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

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