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
Replies
6 replies
Subscribers
6 subscribers
Views
3028 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
This issue surfaced when we deployed the application into a different server. Th
Sidhant Behura
over 9 years ago
This issue surfaced when we deployed the application into a different server. This is working fine in the dev server.
This is related to Write to Multiple Data Store Entities Smart Service. The smart service is faling to insert data into the respective table with below exception.
The swim lane assignment is "Run as whoever designed the process model" and i.e user is a System Administrator.
Exception/Alert:
There is a problem with task “Write to any XYZ Entity” in the process “XYZ Data base interaction - 5/5/2016 12:46 PM GMT+00:00 - by Admin”. An error occurred while trying to write to the data store [XYZ - Application]. No values have been written. Details: could not insert: [XYZEmployeeDT1066] (APNX-1-4208-004)
I checked the previous post by other appian practitioners but without luck.
I checked the Write to Multiple Data Store Entities Smart Service in forum help and found out the same error with a cause.
Error:
...
OriginalPostID-210126
OriginalPostID-210126
Discussion posts and replies are publicly visible
Parents
0
Sidhant Behura
over 9 years ago
@christineh Yes i have primary keys with auto-increment and foreign keys on the table on which i am trying to perform insert operation.
As mentioned above i exported the application from one server and imported into another server. I took the db(mysql) dump and imported into the new server and systematically truncated all the tables. As per my knowledge truncation of any table resets the nextval or the auto-increment value to 0. Please feel free ask any other information if needed.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Sidhant Behura
over 9 years ago
@christineh Yes i have primary keys with auto-increment and foreign keys on the table on which i am trying to perform insert operation.
As mentioned above i exported the application from one server and imported into another server. I took the db(mysql) dump and imported into the new server and systematically truncated all the tables. As per my knowledge truncation of any table resets the nextval or the auto-increment value to 0. Please feel free ask any other information if needed.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data