Appian Community and Appian Academy are being upgraded. As a part of the upgrade, Appian Community is currently in read-only mode, and user registration is disabled until August 3. We apologize for any inconvenience this may cause, but a more secure, stable, and performant Community experience is coming soon!
The new Appian Community launches August 3, followed by Appian Academy on August 7. During the migration, Appian Community Edition, Appian Academy, Documentation, Certifications, Instructor-led Customer Training, Partner Sales Training & Accreditation, and Forum (for Appian Partners and Customers only) will remain available.
Hello community,
that is the error-
An error occurred while trying to write to the entity "LMS_Approval_Details" [id=df9f2bb8-8169-4985-987e-21a22f970163@4662, type=LMS_Approval_Details (id=3874)] (data store: LMS Data Store). Details: org.hibernate.PropertyValueException: not-null property references a null or transient value: LMSApprovalDetailsDT7163.customerId Data: TypedValue[it=3874,v={<null>,<null>,,,Approve,,,}]
Thanks in advance
Discussion posts and replies are publicly visible
You will require to mark the customer id column in database as auto increment if that is your primary key and then update your CDT.
I have already done this.
Can you post your CDT XSD screenshot? Also check for other columns in table if there is no data for those columns make the nullable true.
First: Screenshot of the XSD File is required
Second: You are getting the error while writing which table Account or Customer?
I am writing in the first table approval table.
Okay, so in your data is the customer id is blank? if yes, what is requirement, there should be customer id or not? if yes, make sure you provide the customer id in process variable. if no then make sure the you have mark the default value as NULL in db and same needs to be update in CDT.
NO, customerId is not blank. It is foreign key from the customer table.
The XSD file's screenshot.
from where you are receiving the customer id. While insertion could you please check whether in process variable which you are using is having the customer id or not. If not then you have to map customer id and try it again.