How can I capture a document error or a process error using Groovy script (Don't want to use try catch). Say we have 10 documents flowing to a data process shape and the 5th document threw some error. I want to catch it but proceed with the rest of the documents. And at the end of for loop, I would like to get the error document. can we do this using groovy? Any thoughts?