Answers.Body: <p>You could create a View of Webform Submissions.  It's a bit more complicated, but you should be able to achieve it (if I understand you correctly).</p>
  
  <p>Be sure to add the web form submission data (I think that's the one) relationship so you can sort and filter.</p>
  
  <p><strong>Additional thoughts:</strong><p>
  I'm trying to get away from views of webform submissions as they are not fun to create/maintain.</p>
  
  <p>Another alternative, and the way I tend to go now, is to create a View of CiviCRM Relationships with the current user in the contextual filter.  Include the contact id, case id and activity id fields in the view, but exclude them from the display.  Add Case Types and other pertinent info to the view to help distinguish each case and a global text field(s) that links to a new webform.</p>
  
  <p>Create the new webform by cloning the original, on the CiviCRM integration tab change the case section to update existing case and/or activity.</p>
  
  <p>Where your scenario gets tricky for me to understand, is the activity and the case together in one webform.  You may need to separate these into two new webforms.  One that updates a case and one that updates an activity and create two links in the view one like:<br><code>node/new_webform_id?cid1=[id]&amp;aid=[id_1]</code> to update the activity<br>and one like:<br><code>node/new_webform_id?cid1=[id]&amp;caseid=[id_2]</code> to update the case.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-09-23T21:24:13.087Z
Answers.LastActivityDate: 2015-11-05T14:11:29.063Z
Answers.LastEditDate: 2015-11-05T14:11:29.063Z
Answers.UserDisplayName: pmoz
Answers.Body: <p>If the user has permission to edit their webform submissions, then that would be easiest - by editing their existing submission they can make any necessary changes.</p>
  
  <p>One easy way to do this would be to have the webform send out an automatic email using a couple tokens to say e.g.</p>
  
  <blockquote>
    <p>Thanks for your submission
    Your submitted values are:</p>
    
    <p>...</p>
    
    <p>If you wish to edit your submission, click here.</p>
  </blockquote>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-09-25T10:23:29.107Z
Answers.Text: Thanks for this @coleman. Pointing the user to edit the particular submission may be the simplest option here, but I don't really want to give the user permission to edit their submissions. I'd rather be able to target the correct activity vi a webform. Perhaps if I set a special status for the activity, and use that as an update identifier in the webform, that will be enough?
Answers.UserDisplayName: Graham
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-09-24T20:30:14.427Z
Answers.LastActivityDate: 2015-09-24T20:30:14.427Z
Answers.UserDisplayName: Coleman
Body: <p>Here's the use case:</p>
  
  <p>A user submits reports via a webform on a frequent basis. Each time they submit a report the webform creates a new case, and populate a custom activity type with the data that is submitted.</p>
  
  <p>From time to time the administrator may want the user to re-submit a report (they may have made errors or not reached the required standard in the original submission). </p>
  
  <p>What I want to do is enable the administrator to point the user to a webform where they can see all of the data they submitted originally, edit it and upload new versions of required documents, which then updates the data stored in Civi.</p>
  
  <p>Can I get the webform to present the correct submission data to the user, and if so, how?</p>
  
  <p>I can pass in some parameters to the webform via the url (e.g. case client), but as the user is the client of all the cases they submit that's not going to be enough to identify a particular case.</p>
  
Tags: <activities><civicase><webform-civicrm>
Title: How can I update a particular activity/case via a webform?
ThreadText: # How can I update a particular activity/case via a webform?
  
  (Asked by: username_0 on 2015-09-23)
  
  Here's the use case:
  
  A user submits reports via a webform on a frequent basis. Each time they submit a report the webform creates a new case, and populate a custom activity type with the data that is submitted.
  
  From time to time the administrator may want the user to re-submit a report (they may have made errors or not reached the required standard in the original submission).
  
  What I want to do is enable the administrator to point the user to a webform where they can see all of the data they submitted originally, edit it and upload new versions of required documents, which then updates the data stored in Civi.
  
  Can I get the webform to present the correct submission data to the user, and if so, how?
  
  I can pass in some parameters to the webform via the url (e.g. case client), but as the user is the client of all the cases they submit that's not going to be enough to identify a particular case.
  
  **Tags:** activities, civicase, webform-civicrm
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2015-09-23. Score: 1
  
  You could create a View of Webform Submissions. It's a bit more complicated, but you should be able to achieve it (if I understand you correctly).
  
  Be sure to add the web form submission data (I think that's the one) relationship so you can sort and filter.
  
  **Additional thoughts:**
  
  I'm trying to get away from views of webform submissions as they are not fun to create/maintain.
  
  Another alternative, and the way I tend to go now, is to create a View of CiviCRM Relationships with the current user in the contextual filter. Include the contact id, case id and activity id fields in the view, but exclude them from the display. Add Case Types and other pertinent info to the view to help distinguish each case and a global text field(s) that links to a new webform.
  
  Create the new webform by cloning the original, on the CiviCRM integration tab change the case section to update existing case and/or activity.
  
  Where your scenario gets tricky for me to understand, is the activity and the case together in one webform. You may need to separate these into two new webforms. One that updates a case and one that updates an activity and create two links in the view one like:  
  `node/new_webform_id?cid1=[id]&aid=[id_1]` to update the activity  
  and one like:  
  `node/new_webform_id?cid1=[id]&caseid=[id_2]` to update the case.
  
  
  ---
  
  ### Answer by username_2 on 2015-09-24. Score: 0
  
  If the user has permission to edit their webform submissions, then that would be easiest - by editing their existing submission they can make any necessary changes.
  
  One easy way to do this would be to have the webform send out an automatic email using a couple tokens to say e.g.
  
  > Thanks for your submission
  > Your submitted values are:
  >
  > ...
  >
  > If you wish to edit your submission, click here.
  
  > **Comments:**
  > **username_0**: Thanks for this @username_2. Pointing the user to edit the particular submission may be the simplest option here, but I don't really want to give the user permission to edit their submissions. I'd rather be able to target the correct activity vi a webform. Perhaps if I set a special status for the activity, and use that as an update identifier in the webform, that will be enough?  
  
  ---
  
  