AnsweredAssumed Answered

foreach action causing workflow error

Question asked by on Nov 25, 2015
Latest reply on Nov 27, 2015 by

So, I have a query that returns a collection.  However, in this particular instance that collection only has 1 result. Whenever I run the workflow, I can trace that collection out to the history log, and I see that it did get the correct singular result. I have a log to history before and after the foreach action.  So I see the correct singular result in the history, but then I get an error and do not see the log to history that should happen just inside the foreach. 


Anyone have an idea why it's throwing an error?  Do foreach's really throw an error if you try to iterate a collection with 1 result?