Create SharePoint 2013 Site workflow using REST calls to iterates through multiple sites
I need some help creating a site workflow using REST call to iterate through three different subsites.
I was able to create a site workflow using the REST API call to iterate through one site and query all item within one list and send the email, (see pic below). However, I’m not been able to figure out a way to make it work for multiple sites/subsites.
Anyway, this is what I’m trying to accomplish:
- Let’s say site (Root site) has: Subsite A; Subsite B; Subsite C.
- On those subsites, I have a list call (weekly report) where user enter their work and status update on a daily bases.
I’m trying to create a site workflow that can query all three subsites and get all new status update send out an email to a user.
I did some research and found this blog but I’m not been able to figure it out. https://www.itunity.com/article/sharepoint-2013-site-workflow-iterates-subsites-part-good-solution-3031
If you guys done this before or have any suggestion, let me know. A few screenshots would be great.