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.

  • yeah for some reason I am not able to get the separate survey to link to the primary key in my main process model. I have a start event that is triggered by them filling out the survey in the link that we send them. But it doesn't seem to recognizing the parent key. I do have the outputs saved as well in the output tab on the write to data source. 

    Is there maybe something I need to do on the survey itself to link back to the parent?

Reply
  • yeah for some reason I am not able to get the separate survey to link to the primary key in my main process model. I have a start event that is triggered by them filling out the survey in the link that we send them. But it doesn't seem to recognizing the parent key. I do have the outputs saved as well in the output tab on the write to data source. 

    Is there maybe something I need to do on the survey itself to link back to the parent?

Children