1

I have created a simple workflow to send an email when users take the survey. I have been experimenting and I could not get the workflow to send email with name of the survey.

Environment Information:

  1. SharePoint 2013 Enterprise
  2. Using SharePoint Designer 2013.
  3. Created a reusable workflow using SharePoint 2010 workflow.
1
  • Are you using OOTB survey lists? – Ganesh Sanap Jan 28 '20 at 15:32
1

OOTB SharePoint doesn't gives us an option to get the List title in the SharePoint workflow. You can try any one of the below approach,

  1. you could define a new variable and save the URL Path of the List within the newly created variable. After that just extract a substring at the position of the Listname.

For instance your URL Path to the List is:

'http://shppage/Lists/NameOfList/AllItems.aspx'

just get the substring after Lists/ up to until /AllItems

In this Case, copy Substring from 20 to 30(Into the Variable:ListName).

  1. Create a new text column with a Default value of the list's Title. This will allow you to access the list title from the "Current Item" context within the workflow.

  2. You can use this workflow action, to get the list name ,

https://archive.codeplex.com/?p=wfa

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.