Answers.Body: <p>So I figured out how to do this, for the future.</p>
  
  <p>You need to import an Activity for each contact. Match as per any other import</p>
  
  <p>Key import details:</p>
  
  <ul>
  <li>source_record_id = petition id (you may have to look into the db to find this)</li>
  <li>activity type = 32 (or the activity type id listed for Petition Signature in Administer > Customize Data and Screens > Activity Types)</li>
  <li>subject = by default, this is the title of petition</li>
  <li>data = date signed</li>
  </ul>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-11-12T15:28:00.257Z
Answers.Text: @Corery during import with which option did you associate the source_record_ID?
Answers.UserDisplayName: Alessandro Letizia
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-11-12T22:15:18.823Z
Answers.Text: Afaict, the source_record_id is the numeric value of the survey/petition id in the appropriate database table (I run it on Wordpress, so the table is called civicrm_survey)
Answers.UserDisplayName: Corey Burger
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-11-12T22:45:27.367Z
Answers.Text: I know, but during a petition impot with which option/label do you associate the source_record_ID? If we associate it with "activity ID" it doesn't work. :(
Answers.UserDisplayName: Alessandro Letizia
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-11-13T06:18:30.873Z
Answers.Text: Sorry, yes. Activity ID I think is the campaign id, but I wasn't using it for this upload
Answers.UserDisplayName: Corey Burger
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-11-10T02:28:47.907Z
Answers.LastActivityDate: 2019-11-10T02:28:47.907Z
Answers.UserDisplayName: Corey Burger
Body: <p>I am bringing old data into CiviCRM and we have a number of old petitions in a variety of formats (paper, YAWPP) and I didn't see a way to import the old names &amp; emails into a petition. Did I miss something?</p>
  
Tags: <civicampaign>
Title: Importing signatures into Petition?
ThreadText: # Importing signatures into Petition?
  
  (Asked by: username_0 on 2019-11-09)
  
  I am bringing old data into CiviCRM and we have a number of old petitions in a variety of formats (paper, YAWPP) and I didn't see a way to import the old names & emails into a petition. Did I miss something?
  
  **Tags:** civicampaign
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2019-11-10. Score: 4
  
  So I figured out how to do this, for the future.
  
  You need to import an Activity for each contact. Match as per any other import
  
  Key import details:
  
  * source\_record\_id = petition id (you may have to look into the db to find this)
  * activity type = 32 (or the activity type id listed for Petition Signature in Administer > Customize Data and Screens > Activity Types)
  * subject = by default, this is the title of petition
  * data = date signed
  
  > **Comments:**
  > **username_1**: @Corery during import with which option did you associate the source_record_ID?  
  > **username_0**: Afaict, the source_record_id is the numeric value of the survey/petition id in the appropriate database table (I run it on Wordpress, so the table is called civicrm_survey)  
  > **username_1**: I know, but during a petition impot with which option/label do you associate the source_record_ID? If we associate it with "activity ID" it doesn't work. :(  
  > **username_0**: Sorry, yes. Activity ID I think is the campaign id, but I wasn't using it for this upload  
  
  ---
  
  