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 am customizing the Email task notification message body in SharePoint Designer and need to include a link to the task. I can get all the pieces of the url except the task list id. I have:

[%Task Process:Web URL %]/_layouts/WrkTaskIP.aspxList=**?????**&ID=[%Current Task:ID%]

I've tried:

Field Data to Retrieve

Data Source: Association: Task List

Field from source: ID

Find the List Item

Field: Workflow Item ID

Value: Current Item:ID

which evaluates to an integer, not a GUID.

I also tried, Field from source: GUID, which did not evaluate to the ID of the task list.

Is there any way I can obtain the ID of the task list? I prefer not to hardcode the guid, since this workflow will be exported/imported when I promote it to production.

share|improve this question
3  
You should add your solution as answer and accept it. :))))) –  Toni Frankola Apr 27 '11 at 7:27
    
Thanks. I just did. Since I'm a new user the system made me wait 8 hours to post an answer to my own question. –  Laurie Apr 27 '11 at 15:58
    
Well, I tried to accept my answer, but I must wait 2 days to do that. –  Laurie Apr 27 '11 at 16:16
    
does NOT work in my workflow Tasks. just takes me to top level site. very frustrating. i can't find anything that works. –  April Drake May 2 '13 at 1:33

1 Answer 1

up vote 4 down vote accepted

It turns out that SharePoint Designer provides the entire URL to the task, exactly what I need:

[%Current Task:Form_URN%]
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.