I'm the new kid on the blog: My main focus will be on the business potential of SharePoint 2007. Coming from background in strategy, e-business and knowledge management I'm really excited about the conceptual changes in 2007. Yes boys and girls, we are going to see some really interesting solutions coming from this platform.
Though, this post is of a quite practical nature:
Recently, PeopleNet got a request from a customer who experiences problems with MOSS Workflow: he couldn't get the Workflow to include a valid URL to a list item in the email generated by the Workflow.
None of the fields in "Add Lookup to Body" seems to make sense. For instance, when using the field "Encoded absolute URL" the resulting URL looks something like this: http://intranet/Sites/DHL/Lists/Tilmelding/1_.000 . (Notice: this will work just fine in a document library).
You could solve this by using Visual Studio, but who wants to do that unless you have a gun to your head?
The solution seems to be to use HTML in the Workflow, thereby putting the available fields together:
Example:
This is a link to the <a href="http://intranet/[%LISTNAME:Path%]/DispForm.aspx?ID=[%LISTNAME:ID%]"> list item</a>
As simple as that!
I hope this was helpful - please share your own experiences with Workflow