How to use call web service action in SharePoint2013 workflow
Posted
by ybbest
on YBBest
See other posts from YBBest
or by ybbest
Published on Sat, 08 Sep 2012 03:00:28 +0000
Indexed on
2012/09/08
3:49 UTC
Read the original article
Hit count: 367
SharePoint2013Preview
|Workflow
|SharePoint2013 worklfow
|sharepont2013
|Windows Azure Workflow
In SharePoint2013, you can use call web service action and loop. In this post, I will show you how to achieve this.
1. Create a List workflow called CallWebService
2. Create a variable called listurl and assign the value to http://sp2010/_vti_bin/listdata.svc
3. Create a dictionary variable called RequestHeaders and add the following key value pairs.
4. Call the web service with the HttpHeaders you just build in the previous step and store the response in the variable ResponseContent.
5. The ResponseContent variable is the Dynamic values (in SharePoint designer it will be called dictionary type) and it is new feature for SharePoint2013 workflow. We can use the following actions to count the number items in the variable.
6. You can use loop in SharePoint 2013 workflow and out each list title as shown below.
© YBBest or respective owner