Skip to main content
September 12, 2022
Question

process model

  • September 12, 2022
  • 3 replies
  • 0 views

Hi, I am getting this error in process model can any one help in this?

An error occurred while trying to write to the entity "CMS_Account" [id=b1446b7a-fe5c-4055-99fe-83fb363552a6@8681, type=CMS_Account (id=5452)] (data store: CMS Data Store). Details: java.lang.IllegalArgumentException: The record to be saved must not be null: TypedValue[it=5452,v=<null>] Data: TypedValue[it=5452,v=<null>]

    3 replies

    September 12, 2022

    Please make sure whether data is present in the pv! which you using to write into the DB. 

    The error is you are trying to write null data to the DB so the error is poping.

    durgeshk0003
    September 12, 2022

    Check the database table columns which does not allow NULL values to be inserted, then check if you are passing NULL value from Appian, if yes, you will keep receiving this error message. You need to make sure that you don't pass NULL value from Appian when it is restricted from database side. Hope this helps.

    harshitb6843
    September 12, 2022

    The best way to handle it is to add a null check before your write to DSE smart service so you can avoid that Smart service if the data is null.