I am constructing an email to be sent (when item is created/changed) using SP Designer workflow which needs a hyperlink with CategoryID=The Actual Category Id from the Categories List
To get the Category, I did the following. I used [%Categories:ID%] using Lookup as above from String dialog of SP Designer but it returns always 0.
Data Source: Categories
Field: ID
Return : As String
Field: Category Name
Value: Current Item
Filed from source: Category
Return field as : String
----
Then I changed Return field as : Lookup value (as Text), Though SP Designer complains of duplicates I am sure the categories list does not have duplicates, Now the email stopped working.
Any idea on how could I achieve this?