Skip to main content
February 19, 2024
Question

Writing Record data as null

  • February 19, 2024
  • 13 replies
  • 0 views

Hi,

I am trying to write data into DB using record type which is multiple.

Process variable had data correctly but when it is writing into db the data is writing as  null though source fields and record fields data type is same and structure is same.

Can someone help me on this?

    13 replies

    stefanhelzle0001
    Brainy
    February 19, 2024

    Difficult to say. I think we need a bit more detail and background.

    gopuh0001Author
    February 19, 2024

    ok. the figure above shows the data which I am trying to insert into db using write records smart service from process model. But when I am going into db to see the data.

    Below is the data in db.

    it is writing as null though the data is there in process variable

    stefanhelzle0001
    Brainy
    February 19, 2024

    The versionNumber and the noticeId seem to be OK. Did you validate that the primary key ID is the correct one? Did you check that data is not overwritten by another process or a node further down the process.

    So, when I investigate such an issue, I repeat the following for each step in the data flow:

    - What is my expectation?

    - What is my intention?

    - What did I actually do?

    - What do I observe?

    - Does it deviate from my expectations?