Can a survey return information as part of submission confirmation?

209
1
Jump to solution
09-15-2020 01:23 PM
Trippetoe
Occasional Contributor III

We have a custom app that allows community members to report illegal dumped garbage. We are considering replacing the custom app with a Survey123 Survey. In our current app, we display a 'Report ID' as part of submission confirmation. A citizen can use the Report ID to track the status of their report as it moves through our workflow. The 'Report ID' is really just the object id (plus some other text that is appended to the object id) of the feature that was just created.  In the current app, the object ID gets returned as part of the 'ApplyEdits' REST endpoint response of the hosted feature layer where the new feature was added.

Is such functionality available in Survey123? Does a survey submission return the object id of the newly created feature? if so, how would i go about capturing that info and applying it to the confirmation page? If not, any thoughts on how i could replicate the behavior of providing a 'report id' for a newly submitted survey?

Thank you.

0 Kudos
1 Solution

Accepted Solutions
IsmaelChivite
Esri Notable Contributor

While it is not possible to include data from the submitted survey in the Thank You screen, if you capture the email of the person reporting the dumped garbage, you can easily send an acknowledgment email to that person and include information from the submitted survey. This could be done with Microsoft Automate or Integromat. More info here: https://www.esri.com/training/catalog/5c392a12dd8b97414e076ae8/automate-e-mail-notifications-with-su... 

View solution in original post

1 Reply
IsmaelChivite
Esri Notable Contributor

While it is not possible to include data from the submitted survey in the Thank You screen, if you capture the email of the person reporting the dumped garbage, you can easily send an acknowledgment email to that person and include information from the submitted survey. This could be done with Microsoft Automate or Integromat. More info here: https://www.esri.com/training/catalog/5c392a12dd8b97414e076ae8/automate-e-mail-notifications-with-su...