Friday, September 11, 2009

How to use Collect Data from User Activity in SharePoint Designer Workflow

How to use Collect Data from User Activity in SharePoint Designer Workflow
Refn:
http://blogs.msdn.com/bowerm/archive/2007/06/20/sharepoint-designer-workflow-tips.aspx
http://paulgalvin.spaces.live.com/Blog/cns!1CC1EDB3DAA9B8AA!166.entry

While using this Collect Data from User Activity in SharePoint Designer Workflow,
the twist I found was how to get the value entered by the user into workflow local variable
using Set Workflow variable.
Here are the steps:
(1) Click on "value" - "fx"
(2) In Source select Tasks.
Now the lookup will be enabled.
(3) In the field if the one you want to get the value of is not seen, don't worry.
Its because the Collect Data you have created has not been saved.
Go ahead and just use Id for now and then replace it with the actual one later,
or actually create the Collect Data activity by clicking on Finish Workflow button.
(4) In the "Find the List item" section select Task:Id for the Field.
(5) Now for value click on "fx" and
(5.1) Now select the Source as "Workflow Data".
(5.2) and Field as the Collect variable you are storing the "Collect Data" activity into.

No comments: