Issue with Write To Data Store Entity - Appian Developer Course Exercise 9

I am a beginner working on the Appian Developer course and while creating a process model had an issue with a Write to Data Store Entity node. 

Details of my error: "An error occurred while trying to write to the entity "AX_Maintenance" [id=a715498b-834b-4663-914f-c2b5b2246cf3@3764, type=AX_Maintenance (id=3832)] (data store: AX Data Store). Details: org.hibernate.PropertyValueException: not-null property references a null or transient value: AXMaintenanceDT4982.vehicleID Data: TypedValue[it=3832,v={<null>,<null>,2022-01-28,0,test,Scheduled,<null>,<null>,<null>,<null>,<null>"

Process Model:

It looks like the issue is leading back to the AX_Maintenance Data Type that was created as part of Exercise 9 in the Appian Developer course - same exercise where this process model is later created.

Instructions:


This Data Type is used for two interfaces and connected to a Data Store as well. Status says problem with task.

 

Not sure where to go with this - wondering if something in the AX_Maintenance Data Type is causing the issue. Went back through some of the previous instructions to make sure I had everything but am still getting the issue.

Tried running through process for debugging multiple times taking different nodes to get to Write to Maintenance Entity but am still getting stuck at that node. 

I don't have enough experience to add much more, but this is what I have observed.

  Discussion posts and replies are publicly visible

Parents
  • A couple of questions about this issue:

    • When you go to your custom data type for AX_Maintenance and look at the properties of the primary key, do you see if it has the checkbox selected to auto-generate the next value? If it doesn't, you should select the checkbox (and also update the table in the database to use the auto-generate).
    • Does your AX_Maintenance custom data type refer to any other custom data types? If so, is it possible in your form that you did not save data to the related custom data type?
Reply
  • A couple of questions about this issue:

    • When you go to your custom data type for AX_Maintenance and look at the properties of the primary key, do you see if it has the checkbox selected to auto-generate the next value? If it doesn't, you should select the checkbox (and also update the table in the database to use the auto-generate).
    • Does your AX_Maintenance custom data type refer to any other custom data types? If so, is it possible in your form that you did not save data to the related custom data type?
Children