My workflow simply stops if I try to get and item from a collection and the collection is empty or the collection count is zero. Does anyone else have this problem?
I'm using a Regular Expression to get the the comment from a LazyApproval reply into a collection.
If the LazyApproval does not contain a comment (no , and comment) the collection is empty or has a count of zero.
When I use the get item from collection and get item zero if there is no comment (collection empty) the workflow simply stops dead in it's tracks.
Does anyone experience this problem? Is this how the get item from collection action is supposed to work?
I've switched my workflow to test if item count is zero before running the get item to circumnavigate this problem, but that adds a number of actions that frankly I think are unnecessary. Shouldn't the get item from collection just return null if the collection is empty and allow the workflow to continue?
Thanks for any input into this.