Inserting the URL for the Submitted InfoPath Form's to the Body of the Auto Generated Email from a Workflow


  • I want to create an workflow that is based on SharePoint 2013 List. I am OK with creating the workflow and triggering it once an item is created or modified.

    In the Email alert it should contains the URL to the submitted InfoPath Form.

    If compared with SharePoint 2010 workflows and SharePoint 2013 workflows which one is the best to use.

    I cannot understand how to manipulate the URL to be dynamically changed from one submitted form to another.

    Please help!


    Wednesday, December 14, 2016 7:47 AM

All replies

  • Hi Chiranthaka- either platform will work and you don't necessarily have to manipulate the URL. See the following links for directions:

    cameron rautmann

    Wednesday, December 14, 2016 4:55 PM
  • Hi Chiranthaka J,

    If the reply is helpful to you, you could mark the reply as answer. Thanks for your understanding.

    Best regards,

    Sara Fan

    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact

    Wednesday, January 4, 2017 4:08 AM
  • Hallo

    To get the URL to the specific InfoPath form you need to follow these steps:

    1. Open the InfoPath form via your browser and copy the URL, it should look something like this: https://[your site URL]/[list name]/Item/editifs.aspx?ID=[Item ID] (Remove all of the other giberish out of the URL to resemble the URL in step 1)
    2. Create the workflow that will send the link via an email alert
    3. Create a variable in your workflow that will contain the link (must be a string)
    4. Click on Value to set the value of the variable and then click on the ... to enter your value
    5. in the next window, paste the URL that you have copied in step 1
    6. Delete the ID as we now need to set the ID dynamically, your URL should now look like this: https://[your site URL]/[list name]/Item/editifs.aspx?ID=
    7. Now you need to click on the "Add or Change Lookup" button (bottom left corner)
    8. On the next window, select the second dropdown (field from source) and change it to ID, click on OK
    9. Your original URL should now look like this: https://[your site URL]/[list name]/Item/editifs.aspx?ID=[%Current Item:ID%], then click on OK
    10. You can then use this variable as the link in the email alert

    Please let me know if you need more information.

    Please mark this reply as an asnwer if it was helpfull.

    Thank you!

    • Edited by Carmen Nel Friday, January 6, 2017 9:07 AM
    • Proposed as answer by Carmen Nel Friday, January 6, 2017 9:13 AM
    Thursday, January 5, 2017 11:37 AM