"Throw New Fault" inside for loop causes issue
Summary
"Throw New Fault" activity when used inside for loop causes error in second iteration onwardsContent
I am using "Throw New Fault" activity inside a for loop to check for error from earlier database call and throw error if error flag returned by database call .
Here I noticed that from second iteration onwards (the first iteration works fine) it fails with following error-
Assign Operation Empty result set.
The to-spec does not yield any data; the remove operation cannot be performed.
The operation named in the error message was not performed because to-spec did not yield any data.
Note: I get this error in the fault handling when it send an email after failure.
0