Can anyone please check this error?
Discussion posts and replies are publicly visible
You may need to check your tomcat-stdOut.log file here for additional details.
I'm new bee to Appian,Not understanding this logs,
... 66 more
Caused by: java.sql.SQLException: Field 'loanid' doesn't have a default value
... 67 more
Yes the Caused By section is what we are looking for. In this case, it is indicating the "loanid" field does not have a value, but it is expecting one. If this is an ID field, it may not be set to auto-generate the value. Otherwise, if this is a normal not-null field, you will need to provide a value when writing to the DS or adjust the CDT/DB to allow nulls.
If you see here, I'm passing loanId value also
From here we would need to review the CDT and then the Write to Datastore service configuration, if you could share those it would be helpful.
I have mistaken that I given auto_increment in cdt for loanId.Thank you so much Chris.
© 2022 Appian. All rights reserved.