Use Exit on flow or Exit on loop instead of parent…
Exit on parent works little different, and you need to understand… If you use it inside the loop, it will work like, skip the current execution and continue with the next record in the loop.
Thanks for the details. Below is my understanding of code.
Seq - (Exit on success)
Seq - ( Try - Exit on Failure)
MAP
Exit $parent and signal FAILURE (Error message)
MAP
Seq - (Catch - Exit on Done)
getLastError
So, when the control passes from Exit $ parent step, it should be coming to Catch block with the error details. Bu the IS is not considering it as an error and LastError doc is not present in pipeline.