Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
+1
person also asked this
people also asked this
Replies
3 replies
Subscribers
8 subscribers
Views
3960 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Anybody has any clues to how to solve the alert error of the following. I am get
aswinb
over 11 years ago
Anybody has any clues to how to solve the alert error of the following. I am getting it on a write to data store entity node. This is the error:
There is a problem with task “Save Company Location” in the process “CM_CompanyLocations”. An error occurred while trying to write to the entity “CM_CompanyLocation” [id=592fa65f-0c79-498d-9bbc-5fae6cabdc98@5005, type=CM_CompanyLocation (id=7196)] (data store: Company Management). Details: org.hibernate.TransientObjectException: object is an unsaved transient instance - save the transient instance before merging: CMLocationDT1845 Data: TypedValue[it=7196,v={72,18836,Location four five six,002,142,address line 1,address line 2,address line 3,city,askdjalkdj,2014-05-28 16:06:08.24,<null>,,,<null>,,<null>,1,{<null>,<null>,,,,<null>,<null>},2}]...
OriginalPostID-111257
OriginalPostID-111257
Discussion posts and replies are publicly visible
Top Replies
helgih
over 7 years ago
+1
I just had the same (or at least very similar) problem. The solution that worked for me was recreating the Data Entity in the Data Store. I guess it was using a different version of the Data Type than…
Parents
0
Aleksi White
Appian Employee
over 11 years ago
The ManyToOne relationship will allow you to store a parent CDT even if the child is NULL as long as two conditions are met:
1. The XSD should specify the relationship is "optional=true"
2. The child needs to be NULL
----> Which is different from a child with NULL fields
----> If the child has fields then this is considered as an insertion, but if all values are empty you won't be able to save.
If you want to pass the child CDT as null you have to nullify it by storing null in the CDT itself not in each field.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Aleksi White
Appian Employee
over 11 years ago
The ManyToOne relationship will allow you to store a parent CDT even if the child is NULL as long as two conditions are met:
1. The XSD should specify the relationship is "optional=true"
2. The child needs to be NULL
----> Which is different from a child with NULL fields
----> If the child has fields then this is considered as an insertion, but if all values are empty you won't be able to save.
If you want to pass the child CDT as null you have to nullify it by storing null in the CDT itself not in each field.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data