Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
The results are in! See what nearly 90,000 developers picked as their most loved, dreaded, and desired coding languages and more in the 2019 Developer Survey.

Questions tagged [loop]

Loops are a type of control flow structure in programming in which a series of statements may be executed repeatedly until some condition is met.

0
votes
1answer
20 views

Site Workflow for Microfeed

Re this post: Generating an email alert workflow not working I created a Site Workflow, but I'm not sure how to create the Loop, or the condition "The contents of this loop will run repeatedly while ...
0
votes
1answer
18 views

Workflow web service call looping

I have a SharePoint Designer 2013 workflow that is calling a web service method I have created and hosted on a server. The workflow in the browser workflow history seems to be triggered only once, ...
1
vote
1answer
28 views

Getting always extra button on display .. 1 button dont have any ID

I am having problem while looping. I am always getting an extra button. Please help. {this.state.items.map(myitems1 => { return ( <div key={myitems1.Id}> <span>{...
0
votes
1answer
46 views

Why is my loop not iterating?

I have a blog list (SP2016) which I am using to display news items. On the blog list I have a workflow which sets the Created by(Author) field to system account. for a better ux I am capturing the ...
0
votes
3answers
67 views

SyntaxError: unexpected token: '+='

I'm looping through records and setting a variable according to an if statement. I'm trying to build the output variable with the results of all the looped records into one string using +=. I'm ...
0
votes
1answer
244 views

How to split string condition on array with powershell script. Exporting SharePoint library data on csv file

i am trying export library data into CSV file. i had used string functionality on my script to get content. my script was working fine but i am getting output in single string (or) one column. My ...
1
vote
2answers
87 views

How to perform nested CAML operations using promises?

Team, I have 3 lists, (a) Issues (b) Risks (c) Incidents. I want to... 1 - Run a CAML query against (a) Issues list to get all the issues not closed. 2 - then run a loop through the titles, and use ...
0
votes
0answers
21 views

Workflow to check for substring in field in each item of a List

How can I build a workflow to incrementally check each item of a List for a certain substring? I have a list of over 900 items and need to check for a certain substring within a Multiple Lines of Text ...
0
votes
0answers
168 views

Update Multiple Items in a single list

Hello and thank you in advance to anyone that can help or point me in the right direction of this one. So... I have created a custom list which is being used for recording who belongs to which team (...
0
votes
0answers
15 views

2013 Workflow Loop - Aggregate or Compile Items from List

Is it possible to aggregate or compile a list of items from a list/library based on certain parameters? Do I need to loop through items and create an array? For example: Get all items where Column1 ...
0
votes
1answer
275 views

How do I print SP list rows in PowerShell?

A basic question, yet I'm stuck (I'm still a beginner): I currently have a SharePoint List with two printers in it, and I have the following code: $l = Get-PnPList -Identity "TellerstandPrinters" $...
3
votes
4answers
2k views

Pause in Workflow Loop even when condition is met - SPD

I have created a workflow in SPD as shown below: When an item is created, the Status is set to "Requested", the Reviewer Response is set to Pending and an email is sent to the responsible Reviewer. ...
1
vote
2answers
818 views

Powershell For Loop to add a semicolon after each value [closed]

I want to loop through a collection of items and append semicolon after each item. Example Output values from mycollection: 5590 6063 1213 Expected Output: 5590;6063;1213 Below is my code. for (...
1
vote
1answer
1k views

Looping Email Workflow with Condition

i need to create a email loop workflow with condition but i confused to create on sharepoint designer, example flowchart below is there who know to create it?
0
votes
0answers
31 views

SP Designer 2013 Workflow - Trigger from a record,run through multiple records and update 1 record

I have a "Owners" list and a "Metrics" list. In "Owners" list, each owner has a individual record created for him. In "Metrics" list,each owner has multiple records assigned to him. In each record,...
0
votes
2answers
425 views

Reset/Clear date variable in workflow loop (using REST API calls)

I use Sharepoint Online and Sharepoint Designer 2013 workflows. I have a loop workflow that uses variables in date format. When the loop starts again it uses the variable from the first loop. ...
1
vote
1answer
571 views

SharePoint 2010 using REPLACE and FIND functions multiple times in a calculated field

I'm working on a SharePoint 2010 site where I have a field which contains three letter characters which are separated by a hyphen e.g. AMO-SMF. I have created a calculation which can FIND and ...
1
vote
1answer
852 views

An error occurred while enumerating through a collection

I want to find all LookUpFields on SharePoint and copy them to a new SingleLineofText Field but everytime i get the same error > An error occurred while enumerating through a collection: Collection ...
0
votes
1answer
127 views

Pause Vs Loops approaches

Lately I worked on a workflow that had to be restarted each day I used the Pause approach but I couldn't make it work, do you think Loops could handle the repetitions better than the Pause or are they ...
0
votes
1answer
433 views

Sharepoint designer 2013 - Loop versus wait for item update

When would you use a "loop" in a list workflow versus "wait for item update"? Advantages/disadvantages of each. Thanks.
0
votes
2answers
687 views

Workflow loop - annual reminder

I'm trying to set up a reminder for users to review their documents annually. Using SharePoint 2013. The basic idea is that if a document is uploaded on the 18th of January, then every year on the ...
1
vote
1answer
149 views

Can I put multiple Loops in a Workflow?

I have 3 respective alerts: 1 year, 6 months, 90 days. I set up 3 Stages. Then I set up a loop for my 90 day alert to run the loop every two min. for testing. It works. But when I try to create a ...
0
votes
1answer
47 views

Send mail on a specific date but supress if date changes

I have a simple sharepoint list with a user id a deactivation date and a field indicating that the email has been sent. The goal is for sharepoint to send an email warning the user id that their ...
0
votes
2answers
134 views

After Pausing, Sharepoint Designer Workflow Email is Appending Data when a New Email is Sent

I hope I explain this well enough and have provided enough information. Spent over a week on this and not really found any answers on the web... I have a list setup for my team on Sharepoint 2013. ...
3
votes
1answer
69 views

Recurring email notification to all list entry

I have a list (contains hundreds of items) which I need to send email notification for each item's creator on every end of quarter. Is SharePoint workflow able to loop through the list and triggered ...
0
votes
1answer
1k views

How to Break Loop in Parallel Block - Designer 2013

I have a List called Test1 and below are the controls (only for testing purposes). Below is my Designer 2013 workflow associated with the list above: The workflow does the following: When a user ...