Answers.Body: <p>The latest version (7.x-4.20) has a token for that:
  [submission:activity-id:?]
  Replace ? with 1 for the first activity.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-04-03T19:20:14.393Z
Answers.Text: Thx Daniel - will get Gemma to upgrade as looks like the site testing only had 4.19 on it
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-04-06T03:58:59.947Z
Answers.Text: Upgrade results in token being listed, testing has that token working. Thanks heaps
Answers.UserDisplayName: Gemma - Fuzion
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-07-02T04:13:22.700Z
Answers.Text: Should that read "Replace ? with 1 for the first Activity" rather than "Replace ? with 1 for the first contact"
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-04-03T19:02:29.120Z
Answers.LastActivityDate: 2018-07-06T10:29:37.487Z
Answers.LastEditDate: 2018-07-06T10:29:37.487Z
Answers.UserDisplayName: danielvv
Body: <p>I have a form that when submitted creates a new activity. I want to be able to send out an email from that same webform to a contact with a link to a second form that preloads the activity based on the activity id being in the url. </p>
  
  <p>What would the token be (if there is one) that I could use to display the ID in the email generated from the webform? The activity id is not a field that I can display on the webform so cannot just copy the form key to get the token.</p>
  
Tags: <webform-civicrm>
Title: Is the activity id of an activity created in webform available as a token to then use in an email generated by the webform?
ThreadText: # Is the activity id of an activity created in webform available as a token to then use in an email generated by the webform?
  
  (Asked by: username_0 on 2018-04-03)
  
  I have a form that when submitted creates a new activity. I want to be able to send out an email from that same webform to a contact with a link to a second form that preloads the activity based on the activity id being in the url.
  
  What would the token be (if there is one) that I could use to display the ID in the email generated from the webform? The activity id is not a field that I can display on the webform so cannot just copy the form key to get the token.
  
  **Tags:** webform-civicrm
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2018-04-03. Score: 5 | Accepted answer
  
  The latest version (7.x-4.20) has a token for that:
  [submission:activity-id:?]
  Replace ? with 1 for the first activity.
  
  > **Comments:**
  > **username_2**: Thx Daniel - will get username_0 to upgrade as looks like the site testing only had 4.19 on it  
  > **username_0**: Upgrade results in token being listed, testing has that token working. Thanks heaps  
  > **username_2**: Should that read "Replace ? with 1 for the first Activity" rather than "Replace ? with 1 for the first contact"  
  
  ---
  
  