Database seems to be reverting data

I'm having an issue currently where a single column, very occasionally, will revert back to null soon after it is updated. I set up a trigger that tracks when alterations are made to this column. I then checked all process instances that were running at that time and finally narrowing it down further by searching for PMs that were a depended of the database constant. I find that the only PM that fits the bill is the one that updated from null to 0 in the first place. I was wondering if anyone had experienced an issue like this before. Below are some pictures showing time stamps for when updates occurred. 

In both instances it is updated back to null very quickly. The first 11 seconds later the second one within the same second. Anyone have an idea of what this could be?

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Senior Developer

    This usually occurs when you reload the same table through a CDT but forget to populate that column or override it with a null and proceed to write to datastore. Could technically happen with a write to records same conditions required. the column gets initialised to null. There could be multiple reasons for this.

    The easiest way to figure it out is by narrowing down which pv has the empty value and going through the history of a process instance to see at which moment the column turns null 

Reply
  • 0
    Certified Senior Developer

    This usually occurs when you reload the same table through a CDT but forget to populate that column or override it with a null and proceed to write to datastore. Could technically happen with a write to records same conditions required. the column gets initialised to null. There could be multiple reasons for this.

    The easiest way to figure it out is by narrowing down which pv has the empty value and going through the history of a process instance to see at which moment the column turns null 

Children