Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have a requirement that i need to catch the List title in a sharepoint 2010 designer workflow from list.

Can any one please exlain how to catch the List title

Regards, Suresh Pydi

share|improve this question

2 Answers 2

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).

Regards

Ben

share|improve this answer

You could create your WF as a Reusable WF based on your list content type, then create an association form parameter, so that you can write list name when you associate your WF to the list. Now you have this parameter available in your WF.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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