errorArray and errors from envelopeProcess and validate respectively are by nature recordList. But if only one error is returned then they become records in the pipeliine and not recordList. My error routine then fails because there is not recordList to loop through.
Has anyone encountered this and how did you get around it.
I’ve already tried listSize and appendToRecordList but they return exception errors.
My last resort is to use recordToRecordList but that means coding two paths in my error routine. Is there another alternative?