HOME ABOUT
I AM HERE
Bookmark and Share

MOSS 2007 Workflow - link to current item in email

August 9, 2007 21:45 by Aidan

With the addition of Windows Workflow Foundation in SharePoint 2007 the possibilities for the way lists are used in business processes are huge! With the inclusion of the friendly interface to create workflows in SharePoint designer it is amazingly easy to add custom workflows.

One of the most common requests I get is for a list item to be routed by email to a particular person based on one of the item values. Eg. If an item has the country field set to UK send an email to John Smith but if the country field is set to USA then send an email to Chuck Saltman. This is now extremely easy using the conditional workflows but it took a bit of fiddling about with the fields in the body of the email to produce a link to the current item.

The link to put into the body of the email message is as follows:

<a href="http://[serverName]/sites/[siteName]/Lists/[listName]/DispForm.aspx?ID=[%[listName]:ID%]">Link to item</a>

So in the case of a list called Products this would be:

<a href="http://[serverName]/sites/[siteName]/Lists/Products/DispForm.aspx?ID=[%Products:ID%]">Link to item</a>

Introduction to SharePoint Designer workflow


Tags:
Categories: MOSS 2007
Actions: E-mail | Permalink | Comments (1) | Comment RSSRSS comment feed

Comments

July 17. 2008 09:51

How could not under stand how it is possible to turn on
the reassign task option

can someone please help with this issue

kobi

Add comment




  Country flag

biuquote
  • Comment
  • Preview
Loading