cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Not applicable

For each loop runs ok then work flow stops - "failed to start" and "An Error Has occurred"

Jump to solution

Hi

I have a for each loop in a site workflow that sets the permissions of items in a collection.

 

The workflows seems to run out out time and aborts.

 

I have checked its not a data issue. but rather the number of items in the collection.

 

Any ideas?

 

Thanks

Barry

Labels: (1)
Tags (2)
0 Kudos
Reply
3 Replies
Automation Master
Automation Master

Re: For each loop runs ok then work flow stops - "failed to start" and "An Error Has occurred"

Jump to solution

Hi,

 

I'd try throwing a Pause for 5 minutes at the very start of the workflow and see if that fixes the issue.  I've seen workflows time out before when they enter large foreach without having the pause in place to begin with.

 

-Mike

View solution in original post

0 Kudos
Reply
Not applicable

Re: For each loop runs ok then work flow stops - "failed to start" and "An Error Has occurred"

Jump to solution

Thanks I'll give that a try.

0 Kudos
Reply
Not applicable

Re: For each loop runs ok then work flow stops - "failed to start" and "An Error Has occurred"

Jump to solution

Thanks this worked, I used a 1 minute pause

0 Kudos
Reply