Introduction
In SharePoint 2013 Workflows, you call a Web Service using a new action, which was introduced in SharePoint 2013 named Call HTTP Web Service. This action is flexible and allows you to make the simple calls to a Web Service easily, or, if needed, you can create more complex calls, using HTTP verbs as well as allowing you to add HTTP headers.
The Call HTTP Web Service action lets you specify any of the several request methods, including GET, PUT, POST and DELETE. This lets you tell the Web Services, specifically RESTful services what is to be done on the service that you’ve specified with the URL property on the activity. For more details, please refer to this link.
In this article, you will be creating a Site Workflow and log the entire list names in the Workflow history list.
Endpoint URI
To get all the lists from SharePoint site endpoint, URL will be http://sitename/_api/web/lists
HTTP Request
GET – Read a Resource.
Workflow Design
Workflow will be designed with the stages (Retrieve Lists and Process Lists), as shown below:


Create Site Workflow
- Open SharePoint Site in Designer 2013.
- In the top navigation bar, click Site Workflow.

- Enter the Name and Description. Select Platform Type and click OK button.
Create Workflow Local Variables
- In the top navigation bar, click Local Variables and create the following variables:



Stage 1- Retrieve Lists





















Vignesh ManiPosted Jul 8, 2016, 8:32 AM
Good one
kalu singh raoPosted Jul 7, 2016, 1:59 PM
Nice...
Shantha Kumar TPosted Jul 7, 2016, 11:45 AM
Wow. I never tried this option. Will try this now. Thanks for the information