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.
Solved! Go to Solution.
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.