You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

"Throw New Fault" inside for loop causes issue

edited Aug 8, 2019 3:57PM in Integration 9 comments

Summary

"Throw New Fault" activity when used inside for loop causes error in second iteration onwards

Content

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.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!