Form submission creates new data entry instead of appending onto original data record

So I have a process model that has a sub process that basically will send them a email to have them fill out a survey response. Once they go to the survey appian site link and submit their response, we would capture their response for their corresponding application. 

However, for some reason when the user submits the survey, Appian generates a new row to capture the survey instead of appending it onto the original application record on 61. 

Anyone have any ideas on what may be going on? 

  Discussion posts and replies are publicly visible

Parents
  • When you originally write to the database, your data will get assigned a primary key. I recommend checking the 'output' subtab on the 'Data' tab of your 'Write to Data Store' smart service and make sure you save the storedValue back into the process variable. This will ensure that any new writes to the database use the same primary key instead of creating a new one. Another way to verify this is happening is to view the 'process history' section when monitoring a process.

Reply
  • When you originally write to the database, your data will get assigned a primary key. I recommend checking the 'output' subtab on the 'Data' tab of your 'Write to Data Store' smart service and make sure you save the storedValue back into the process variable. This will ensure that any new writes to the database use the same primary key instead of creating a new one. Another way to verify this is happening is to view the 'process history' section when monitoring a process.

Children